UNPKG

google-ads-node

Version:
831 lines (694 loc) 14.5 MB
// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. import type {protobuf as $protobuf} from "google-gax"; import Long = require("long"); /** Namespace google. */ export namespace google { /** Namespace ads. */ namespace ads { /** Namespace googleads. */ namespace googleads { /** Namespace v23. */ namespace v23 { /** Namespace common. */ namespace common { /** Properties of an AdTextAsset. */ interface IAdTextAsset { /** AdTextAsset text */ text?: (string|null); /** AdTextAsset pinned_field */ pinned_field?: (google.ads.googleads.v23.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType|keyof typeof google.ads.googleads.v23.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType|null); /** AdTextAsset asset_performance_label */ asset_performance_label?: (google.ads.googleads.v23.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel|keyof typeof google.ads.googleads.v23.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel|null); /** AdTextAsset policy_summary_info */ policy_summary_info?: (google.ads.googleads.v23.common.IAdAssetPolicySummary|null); } /** Represents an AdTextAsset. */ class AdTextAsset implements IAdTextAsset { /** * Constructs a new AdTextAsset. * @param [properties] Properties to set */ constructor(properties?: google.ads.googleads.v23.common.IAdTextAsset); /** AdTextAsset text. */ public text?: (string|null); /** AdTextAsset pinned_field. */ public pinned_field: (google.ads.googleads.v23.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType|keyof typeof google.ads.googleads.v23.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType); /** AdTextAsset asset_performance_label. */ public asset_performance_label: (google.ads.googleads.v23.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel|keyof typeof google.ads.googleads.v23.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel); /** AdTextAsset policy_summary_info. */ public policy_summary_info?: (google.ads.googleads.v23.common.IAdAssetPolicySummary|null); /** * Creates a new AdTextAsset instance using the specified properties. * @param [properties] Properties to set * @returns AdTextAsset instance */ public static create(properties?: google.ads.googleads.v23.common.IAdTextAsset): google.ads.googleads.v23.common.AdTextAsset; /** * Encodes the specified AdTextAsset message. Does not implicitly {@link google.ads.googleads.v23.common.AdTextAsset.verify|verify} messages. * @param message AdTextAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.ads.googleads.v23.common.IAdTextAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdTextAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v23.common.AdTextAsset.verify|verify} messages. * @param message AdTextAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.ads.googleads.v23.common.IAdTextAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdTextAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdTextAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.googleads.v23.common.AdTextAsset; /** * Decodes an AdTextAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdTextAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.googleads.v23.common.AdTextAsset; /** * Verifies an AdTextAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdTextAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdTextAsset */ public static fromObject(object: { [k: string]: any }): google.ads.googleads.v23.common.AdTextAsset; /** * Creates a plain object from an AdTextAsset message. Also converts values to other types if specified. * @param message AdTextAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.ads.googleads.v23.common.AdTextAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdTextAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AdTextAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AdImageAsset. */ interface IAdImageAsset { /** AdImageAsset asset */ asset?: (string|null); } /** Represents an AdImageAsset. */ class AdImageAsset implements IAdImageAsset { /** * Constructs a new AdImageAsset. * @param [properties] Properties to set */ constructor(properties?: google.ads.googleads.v23.common.IAdImageAsset); /** AdImageAsset asset. */ public asset?: (string|null); /** * Creates a new AdImageAsset instance using the specified properties. * @param [properties] Properties to set * @returns AdImageAsset instance */ public static create(properties?: google.ads.googleads.v23.common.IAdImageAsset): google.ads.googleads.v23.common.AdImageAsset; /** * Encodes the specified AdImageAsset message. Does not implicitly {@link google.ads.googleads.v23.common.AdImageAsset.verify|verify} messages. * @param message AdImageAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.ads.googleads.v23.common.IAdImageAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdImageAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v23.common.AdImageAsset.verify|verify} messages. * @param message AdImageAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.ads.googleads.v23.common.IAdImageAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdImageAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdImageAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.googleads.v23.common.AdImageAsset; /** * Decodes an AdImageAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdImageAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.googleads.v23.common.AdImageAsset; /** * Verifies an AdImageAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdImageAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdImageAsset */ public static fromObject(object: { [k: string]: any }): google.ads.googleads.v23.common.AdImageAsset; /** * Creates a plain object from an AdImageAsset message. Also converts values to other types if specified. * @param message AdImageAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.ads.googleads.v23.common.AdImageAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdImageAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AdImageAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AdVideoAsset. */ interface IAdVideoAsset { /** AdVideoAsset asset */ asset?: (string|null); /** AdVideoAsset ad_video_asset_info */ ad_video_asset_info?: (google.ads.googleads.v23.common.IAdVideoAssetInfo|null); } /** Represents an AdVideoAsset. */ class AdVideoAsset implements IAdVideoAsset { /** * Constructs a new AdVideoAsset. * @param [properties] Properties to set */ constructor(properties?: google.ads.googleads.v23.common.IAdVideoAsset); /** AdVideoAsset asset. */ public asset?: (string|null); /** AdVideoAsset ad_video_asset_info. */ public ad_video_asset_info?: (google.ads.googleads.v23.common.IAdVideoAssetInfo|null); /** * Creates a new AdVideoAsset instance using the specified properties. * @param [properties] Properties to set * @returns AdVideoAsset instance */ public static create(properties?: google.ads.googleads.v23.common.IAdVideoAsset): google.ads.googleads.v23.common.AdVideoAsset; /** * Encodes the specified AdVideoAsset message. Does not implicitly {@link google.ads.googleads.v23.common.AdVideoAsset.verify|verify} messages. * @param message AdVideoAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.ads.googleads.v23.common.IAdVideoAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdVideoAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v23.common.AdVideoAsset.verify|verify} messages. * @param message AdVideoAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.ads.googleads.v23.common.IAdVideoAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdVideoAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdVideoAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.googleads.v23.common.AdVideoAsset; /** * Decodes an AdVideoAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdVideoAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.googleads.v23.common.AdVideoAsset; /** * Verifies an AdVideoAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdVideoAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdVideoAsset */ public static fromObject(object: { [k: string]: any }): google.ads.googleads.v23.common.AdVideoAsset; /** * Creates a plain object from an AdVideoAsset message. Also converts values to other types if specified. * @param message AdVideoAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.ads.googleads.v23.common.AdVideoAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdVideoAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AdVideoAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AdVideoAssetInfo. */ interface IAdVideoAssetInfo { /** AdVideoAssetInfo ad_video_asset_inventory_preferences */ ad_video_asset_inventory_preferences?: (google.ads.googleads.v23.common.IAdVideoAssetInventoryPreferences|null); /** AdVideoAssetInfo ad_video_asset_feature_control */ ad_video_asset_feature_control?: (google.ads.googleads.v23.common.IAdVideoAssetLinkFeatureControl|null); } /** Represents an AdVideoAssetInfo. */ class AdVideoAssetInfo implements IAdVideoAssetInfo { /** * Constructs a new AdVideoAssetInfo. * @param [properties] Properties to set */ constructor(properties?: google.ads.googleads.v23.common.IAdVideoAssetInfo); /** AdVideoAssetInfo ad_video_asset_inventory_preferences. */ public ad_video_asset_inventory_preferences?: (google.ads.googleads.v23.common.IAdVideoAssetInventoryPreferences|null); /** AdVideoAssetInfo ad_video_asset_feature_control. */ public ad_video_asset_feature_control?: (google.ads.googleads.v23.common.IAdVideoAssetLinkFeatureControl|null); /** * Creates a new AdVideoAssetInfo instance using the specified properties. * @param [properties] Properties to set * @returns AdVideoAssetInfo instance */ public static create(properties?: google.ads.googleads.v23.common.IAdVideoAssetInfo): google.ads.googleads.v23.common.AdVideoAssetInfo; /** * Encodes the specified AdVideoAssetInfo message. Does not implicitly {@link google.ads.googleads.v23.common.AdVideoAssetInfo.verify|verify} messages. * @param message AdVideoAssetInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.ads.googleads.v23.common.IAdVideoAssetInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdVideoAssetInfo message, length delimited. Does not implicitly {@link google.ads.googleads.v23.common.AdVideoAssetInfo.verify|verify} messages. * @param message AdVideoAssetInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.ads.googleads.v23.common.IAdVideoAssetInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdVideoAssetInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdVideoAssetInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.googleads.v23.common.AdVideoAssetInfo; /** * Decodes an AdVideoAssetInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdVideoAssetInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.googleads.v23.common.AdVideoAssetInfo; /** * Verifies an AdVideoAssetInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdVideoAssetInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdVideoAssetInfo */ public static fromObject(object: { [k: string]: any }): google.ads.googleads.v23.common.AdVideoAssetInfo; /** * Creates a plain object from an AdVideoAssetInfo message. Also converts values to other types if specified. * @param message AdVideoAssetInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.ads.googleads.v23.common.AdVideoAssetInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdVideoAssetInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AdVideoAssetInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AdVideoAssetInventoryPreferences. */ interface IAdVideoAssetInventoryPreferences { /** AdVideoAssetInventoryPreferences in_feed_preference */ in_feed_preference?: (boolean|null); /** AdVideoAssetInventoryPreferences in_stream_preference */ in_stream_preference?: (boolean|null); /** AdVideoAssetInventoryPreferences shorts_preference */ shorts_preference?: (boolean|null); } /** Represents an AdVideoAssetInventoryPreferences. */ class AdVideoAssetInventoryPreferences implements IAdVideoAssetInventoryPreferences { /** * Constructs a new AdVideoAssetInventoryPreferences. * @param [properties] Properties to set */ constructor(properties?: google.ads.googleads.v23.common.IAdVideoAssetInventoryPreferences); /** AdVideoAssetInventoryPreferences in_feed_preference. */ public in_feed_preference?: (boolean|null); /** AdVideoAssetInventoryPreferences in_stream_preference. */ public in_stream_preference?: (boolean|null); /** AdVideoAssetInventoryPreferences shorts_preference. */ public shorts_preference?: (boolean|null); /** * Creates a new AdVideoAssetInventoryPreferences instance using the specified properties. * @param [properties] Properties to set * @returns AdVideoAssetInventoryPreferences instance */ public static create(properties?: google.ads.googleads.v23.common.IAdVideoAssetInventoryPreferences): google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences; /** * Encodes the specified AdVideoAssetInventoryPreferences message. Does not implicitly {@link google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences.verify|verify} messages. * @param message AdVideoAssetInventoryPreferences message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.ads.googleads.v23.common.IAdVideoAssetInventoryPreferences, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdVideoAssetInventoryPreferences message, length delimited. Does not implicitly {@link google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences.verify|verify} messages. * @param message AdVideoAssetInventoryPreferences message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.ads.googleads.v23.common.IAdVideoAssetInventoryPreferences, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdVideoAssetInventoryPreferences message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdVideoAssetInventoryPreferences * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences; /** * Decodes an AdVideoAssetInventoryPreferences message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdVideoAssetInventoryPreferences * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences; /** * Verifies an AdVideoAssetInventoryPreferences message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdVideoAssetInventoryPreferences message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdVideoAssetInventoryPreferences */ public static fromObject(object: { [k: string]: any }): google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences; /** * Creates a plain object from an AdVideoAssetInventoryPreferences message. Also converts values to other types if specified. * @param message AdVideoAssetInventoryPreferences * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdVideoAssetInventoryPreferences to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AdVideoAssetInventoryPreferences * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AdVideoAssetLinkFeatureControl. */ interface IAdVideoAssetLinkFeatureControl { /** AdVideoAssetLinkFeatureControl allow_youtube_comments */ allow_youtube_comments?: (boolean|null); } /** Represents an AdVideoAssetLinkFeatureControl. */ class AdVideoAssetLinkFeatureControl implements IAdVideoAssetLinkFeatureControl { /** * Constructs a new AdVideoAssetLinkFeatureControl. * @param [properties] Properties to set */ constructor(properties?: google.ads.googleads.v23.common.IAdVideoAssetLinkFeatureControl); /** AdVideoAssetLinkFeatureControl allow_youtube_comments. */ public allow_youtube_comments?: (boolean|null); /** * Creates a new AdVideoAssetLinkFeatureControl instance using the specified properties. * @param [properties] Properties to set * @returns AdVideoAssetLinkFeatureControl instance */ public static create(properties?: google.ads.googleads.v23.common.IAdVideoAssetLinkFeatureControl): google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl; /** * Encodes the specified AdVideoAssetLinkFeatureControl message. Does not implicitly {@link google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl.verify|verify} messages. * @param message AdVideoAssetLinkFeatureControl message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.ads.googleads.v23.common.IAdVideoAssetLinkFeatureControl, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdVideoAssetLinkFeatureControl message, length delimited. Does not implicitly {@link google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl.verify|verify} messages. * @param message AdVideoAssetLinkFeatureControl message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.ads.googleads.v23.common.IAdVideoAssetLinkFeatureControl, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdVideoAssetLinkFeatureControl message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdVideoAssetLinkFeatureControl * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl; /** * Decodes an AdVideoAssetLinkFeatureControl message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdVideoAssetLinkFeatureControl * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl; /** * Verifies an AdVideoAssetLinkFeatureControl message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdVideoAssetLinkFeatureControl message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdVideoAssetLinkFeatureControl */ public static fromObject(object: { [k: string]: any }): google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl; /** * Creates a plain object from an AdVideoAssetLinkFeatureControl message. Also converts values to other types if specified. * @param message AdVideoAssetLinkFeatureControl * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdVideoAssetLinkFeatureControl to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AdVideoAssetLinkFeatureControl * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AdMediaBundleAsset. */ interface IAdMediaBundleAsset { /** AdMediaBundleAsset asset */ asset?: (string|null); } /** Represents an AdMediaBundleAsset. */ class AdMediaBundleAsset implements IAdMediaBundleAsset { /** * Constructs a new AdMediaBundleAsset. * @param [properties] Properties to set */ constructor(properties?: google.ads.googleads.v23.common.IAdMediaBundleAsset); /** AdMediaBundleAsset asset. */ public asset?: (string|null); /** * Creates a new AdMediaBundleAsset instance using the specified properties. * @param [properties] Properties to set * @returns AdMediaBundleAsset instance */ public static create(properties?: google.ads.googleads.v23.common.IAdMediaBundleAsset): google.ads.googleads.v23.common.AdMediaBundleAsset; /** * Encodes the specified AdMediaBundleAsset message. Does not implicitly {@link google.ads.googleads.v23.common.AdMediaBundleAsset.verify|verify} messages. * @param message AdMediaBundleAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.ads.googleads.v23.common.IAdMediaBundleAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdMediaBundleAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v23.common.AdMediaBundleAsset.verify|verify} messages. * @param message AdMediaBundleAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.ads.googleads.v23.common.IAdMediaBundleAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdMediaBundleAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdMediaBundleAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.googleads.v23.common.AdMediaBundleAsset; /** * Decodes an AdMediaBundleAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdMediaBundleAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.googleads.v23.common.AdMediaBundleAsset; /** * Verifies an AdMediaBundleAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdMediaBundleAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdMediaBundleAsset */ public static fromObject(object: { [k: string]: any }): google.ads.googleads.v23.common.AdMediaBundleAsset; /** * Creates a plain object from an AdMediaBundleAsset message. Also converts values to other types if specified. * @param message AdMediaBundleAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.ads.googleads.v23.common.AdMediaBundleAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdMediaBundleAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AdMediaBundleAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AdDemandGenCarouselCardAsset. */ interface IAdDemandGenCarouselCardAsset { /** AdDemandGenCarouselCardAsset asset */ asset?: (string|null); } /** Represents an AdDemandGenCarouselCardAsset. */ class AdDemandGenCarouselCardAsset implements IAdDemandGenCarouselCardAsset { /** * Constructs a new AdDemandGenCarouselCardAsset. * @param [properties] Properties to set */ constructor(properties?: google.ads.googleads.v23.common.IAdDemandGenCarouselCardAsset); /** AdDemandGenCarouselCardAsset asset. */ public asset?: (string|null); /** * Creates a new AdDemandGenCarouselCardAsset instance using the specified properties. * @param [properties] Properties to set * @returns AdDemandGenCarouselCardAsset instance */ public static create(properties?: google.ads.googleads.v23.common.IAdDemandGenCarouselCardAsset): google.ads.googleads.v23.common.AdDemandGenCarouselCardAsset; /** * Encodes the specified AdDemandGenCarouselCardAsset message. Does not implicitly {@link google.ads.googleads.v23.common.AdDemandGenCarouselCardAsset.verify|verify} messages. * @param message AdDemandGenCarouselCardAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.ads.googleads.v23.common.IAdDemandGenCarouselCardAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdDemandGenCarouselCardAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v23.common.AdDemandGenCarouselCardAsset.verify|verify} messages. * @param message AdDemandGenCarouselCardAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.ads.googleads.v23.common.IAdDemandGenCarouselCardAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdDemandGenCarouselCardAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdDemandGenCarouselCardAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.googleads.v23.common.AdDemandGenCarouselCardAsset; /** * Decodes an AdDemandGenCarouselCardAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdDemandGenCarouselCardAsset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.googleads.v23.common.AdDemandGenCarouselCardAsset; /** * Verifies an AdDemandGenCarouselCardAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdDemandGenCarouselCardAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdDemandGenCarouselCardAsset */ public static fromObject(object: { [k: string]: any }): google.ads.googleads.v23.common.AdDemandGenCarouselCardAsset; /** * Creates a plain object from an AdDemandGenCarouselCardAsset message. Also converts values to other types if specified. * @param message AdDemandGenCarouselCardAsset * @param [options] Conver