polochon-google-ads-node
Version:
Google Ads API client library
836 lines (692 loc) • 13.2 MB
TypeScript
// Copyright 2024 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 v15. */
namespace v15 {
/** Namespace common. */
namespace common {
/** Properties of an AdTextAsset. */
interface IAdTextAsset {
/** AdTextAsset text */
text?: (string|null);
/** AdTextAsset pinned_field */
pinned_field?: (google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType|keyof typeof google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType|null);
/** AdTextAsset asset_performance_label */
asset_performance_label?: (google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel|keyof typeof google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel|null);
/** AdTextAsset policy_summary_info */
policy_summary_info?: (google.ads.googleads.v15.common.IAdAssetPolicySummary|null);
}
/** Represents an AdTextAsset. */
class AdTextAsset implements IAdTextAsset {
/**
* Constructs a new AdTextAsset.
* @param [properties] Properties to set
*/
constructor(properties?: google.ads.googleads.v15.common.IAdTextAsset);
/** AdTextAsset text. */
public text?: (string|null);
/** AdTextAsset pinned_field. */
public pinned_field: (google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType|keyof typeof google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType);
/** AdTextAsset asset_performance_label. */
public asset_performance_label: (google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel|keyof typeof google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel);
/** AdTextAsset policy_summary_info. */
public policy_summary_info?: (google.ads.googleads.v15.common.IAdAssetPolicySummary|null);
/** AdTextAsset _text. */
public _text?: "text";
/**
* Creates a new AdTextAsset instance using the specified properties.
* @param [properties] Properties to set
* @returns AdTextAsset instance
*/
public static create(properties?: google.ads.googleads.v15.common.IAdTextAsset): google.ads.googleads.v15.common.AdTextAsset;
/**
* Encodes the specified AdTextAsset message. Does not implicitly {@link google.ads.googleads.v15.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.v15.common.IAdTextAsset, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AdTextAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v15.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.v15.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.v15.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.v15.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.v15.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.v15.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.v15.common.IAdImageAsset);
/** AdImageAsset asset. */
public asset?: (string|null);
/** AdImageAsset _asset. */
public _asset?: "asset";
/**
* Creates a new AdImageAsset instance using the specified properties.
* @param [properties] Properties to set
* @returns AdImageAsset instance
*/
public static create(properties?: google.ads.googleads.v15.common.IAdImageAsset): google.ads.googleads.v15.common.AdImageAsset;
/**
* Encodes the specified AdImageAsset message. Does not implicitly {@link google.ads.googleads.v15.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.v15.common.IAdImageAsset, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AdImageAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v15.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.v15.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.v15.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.v15.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.v15.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.v15.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);
}
/** Represents an AdVideoAsset. */
class AdVideoAsset implements IAdVideoAsset {
/**
* Constructs a new AdVideoAsset.
* @param [properties] Properties to set
*/
constructor(properties?: google.ads.googleads.v15.common.IAdVideoAsset);
/** AdVideoAsset asset. */
public asset?: (string|null);
/** AdVideoAsset _asset. */
public _asset?: "asset";
/**
* Creates a new AdVideoAsset instance using the specified properties.
* @param [properties] Properties to set
* @returns AdVideoAsset instance
*/
public static create(properties?: google.ads.googleads.v15.common.IAdVideoAsset): google.ads.googleads.v15.common.AdVideoAsset;
/**
* Encodes the specified AdVideoAsset message. Does not implicitly {@link google.ads.googleads.v15.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.v15.common.IAdVideoAsset, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AdVideoAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v15.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.v15.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.v15.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.v15.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.v15.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.v15.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 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.v15.common.IAdMediaBundleAsset);
/** AdMediaBundleAsset asset. */
public asset?: (string|null);
/** AdMediaBundleAsset _asset. */
public _asset?: "asset";
/**
* Creates a new AdMediaBundleAsset instance using the specified properties.
* @param [properties] Properties to set
* @returns AdMediaBundleAsset instance
*/
public static create(properties?: google.ads.googleads.v15.common.IAdMediaBundleAsset): google.ads.googleads.v15.common.AdMediaBundleAsset;
/**
* Encodes the specified AdMediaBundleAsset message. Does not implicitly {@link google.ads.googleads.v15.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.v15.common.IAdMediaBundleAsset, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AdMediaBundleAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v15.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.v15.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.v15.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.v15.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.v15.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.v15.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 AdDiscoveryCarouselCardAsset. */
interface IAdDiscoveryCarouselCardAsset {
/** AdDiscoveryCarouselCardAsset asset */
asset?: (string|null);
}
/** Represents an AdDiscoveryCarouselCardAsset. */
class AdDiscoveryCarouselCardAsset implements IAdDiscoveryCarouselCardAsset {
/**
* Constructs a new AdDiscoveryCarouselCardAsset.
* @param [properties] Properties to set
*/
constructor(properties?: google.ads.googleads.v15.common.IAdDiscoveryCarouselCardAsset);
/** AdDiscoveryCarouselCardAsset asset. */
public asset?: (string|null);
/** AdDiscoveryCarouselCardAsset _asset. */
public _asset?: "asset";
/**
* Creates a new AdDiscoveryCarouselCardAsset instance using the specified properties.
* @param [properties] Properties to set
* @returns AdDiscoveryCarouselCardAsset instance
*/
public static create(properties?: google.ads.googleads.v15.common.IAdDiscoveryCarouselCardAsset): google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset;
/**
* Encodes the specified AdDiscoveryCarouselCardAsset message. Does not implicitly {@link google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset.verify|verify} messages.
* @param message AdDiscoveryCarouselCardAsset message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.ads.googleads.v15.common.IAdDiscoveryCarouselCardAsset, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AdDiscoveryCarouselCardAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset.verify|verify} messages.
* @param message AdDiscoveryCarouselCardAsset message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.ads.googleads.v15.common.IAdDiscoveryCarouselCardAsset, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AdDiscoveryCarouselCardAsset message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AdDiscoveryCarouselCardAsset
* @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.v15.common.AdDiscoveryCarouselCardAsset;
/**
* Decodes an AdDiscoveryCarouselCardAsset message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AdDiscoveryCarouselCardAsset
* @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.v15.common.AdDiscoveryCarouselCardAsset;
/**
* Verifies an AdDiscoveryCarouselCardAsset 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 AdDiscoveryCarouselCardAsset message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AdDiscoveryCarouselCardAsset
*/
public static fromObject(object: { [k: string]: any }): google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset;
/**
* Creates a plain object from an AdDiscoveryCarouselCardAsset message. Also converts values to other types if specified.
* @param message AdDiscoveryCarouselCardAsset
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AdDiscoveryCarouselCardAsset to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AdDiscoveryCarouselCardAsset
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AdCallToActionAsset. */
interface IAdCallToActionAsset {
/** AdCallToActionAsset asset */
asset?: (string|null);
}
/** Represents an AdCallToActionAsset. */
class AdCallToActionAsset implements IAdCallToActionAsset {
/**
* Constructs a new AdCallToActionAsset.
* @param [properties] Properties to set
*/
constructor(properties?: google.ads.googleads.v15.common.IAdCallToActionAsset);
/** AdCallToActionAsset asset. */
public asset?: (string|null);
/** AdCallToActionAsset _asset. */
public _asset?: "asset";
/**
* Creates a new AdCallToActionAsset instance using the specified properties.
* @param [properties] Properties to set
* @returns AdCallToActionAsset instance
*/
public static create(properties?: google.ads.googleads.v15.common.IAdCallToActionAsset): google.ads.googleads.v15.common.AdCallToActionAsset;
/**
* Encodes the specified AdCallToActionAsset message. Does not implicitly {@link google.ads.googleads.v15.common.AdCallToActionAsset.verify|verify} messages.
* @param message AdCallToActionAsset message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.ads.googleads.v15.common.IAdCallToActionAsset, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AdCallToActionAsset message, length delimited. Does not implicitly {@link google.ads.googleads.v15.common.AdCallToActionAsset.verify|verify} messages.
* @param message AdCallToActionAsset message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.ads.googleads.v15.common.IAdCallToActionAsset, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AdCallToActionAsset message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AdCallToActionAsset
* @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.v15.common.AdCallToActionAsset;
/**
* Decodes an AdCallToActionAsset message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AdCallToActionAsset
* @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.v15.common.AdCallToActionAsset;
/**
* Verifies an AdCallToActionAsset 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 AdCallToActionAsset message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AdCallToActionAsset
*/
public static fromObject(object: { [k: string]: any }): google.ads.googleads.v15.common.AdCallToActionAsset;
/**
* Creates a plain object from an AdCallToActionAsset message. Also converts values to other types if specified.
* @param message AdCallToActionAsset
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.ads.googleads.v15.common.AdCallToActionAsset, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AdCallToActionAsset to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AdCallToActionAsset
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AdAssetPolicySummary. */
interface IAdAssetPolicySummary {
/** AdAssetPolicySummary policy_topic_entries */
policy_topic_entries?: (google.ads.googleads.v15.common.IPolicyTopicEntry[]|null);
/** AdAssetPolicySummary review_status */
review_status?: (google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus|keyof typeof google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus|null);
/** AdAssetPolicySummary approval_status */
approval_status?: (google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus|keyof typeof google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus|null);
}
/** Represents an AdAssetPolicySummary. */
class AdAssetPolicySummary implements IAdAssetPolicySummary {
/**
* Constructs a new AdAssetPolicySummary.
* @param [properties] Properties to set
*/
constructor(properties?: google.ads.googleads.v15.common.IAdAssetPolicySummary);
/** AdAssetPolicySummary policy_topic_entries. */
public policy_topic_entries: google.ads.googleads.v15.common.IPolicyTopicEntry[];
/** AdAssetPolicySummary review_status. */
public review_status: (google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus|keyof typeof google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus);
/** AdAssetPolicySummary approval_status. */
public approval_status: (google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus|keyof typeof google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus);
/**
* Creates a new AdAssetPolicySummary instance using the specified properties.
* @param [properties] Properties to set
* @returns AdAssetPolicySummary instance
*/
public static create(properties?: google.ads.googleads.v15.common.IAdAssetPolicySummary): google.ads.googleads.v15.common.AdAssetPolicySummary;
/**
* Encodes the specified AdAssetPolicySummary message. Does not implicitly {@link google.ads.googleads.v15.common.AdAssetPolicySummary.verify|verify} messages.
* @param message AdAssetPolicySummary message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.ads.googleads.v15.common.IAdAssetPolicySummary, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AdAssetPolicySummary message, length delimited. Does not implicitly {@link google.ads.googleads.v15.common.AdAssetPolicySummary.verify|verify} messages.
* @param message AdAssetPolicySummary message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.ads.googleads.v15.common.IAdAssetPolicySummary, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AdAssetPolicySummary message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AdAssetPolicySummary
* @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.v15.common.AdAssetPolicySummary;
/**
* Decodes an AdAssetPolicySummary message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AdAssetPolicySummary
* @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.v15.common.AdAssetPolicySummary;
/**
* Verifies an AdAssetPolicySummary 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 AdAssetPolicySummary message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AdAssetPolicySummary
*/
public static fromObject(object: { [k: string]: any }): google.ads.googleads.v15.common.AdAssetPolicySummary;
/**
* Creates a plain object from an AdAssetPolicySummary message. Also converts values to other types if specified.
* @param message AdAssetPolicySummary
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.ads.googleads.v15.common.AdAssetPolicySummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AdAssetPolicySummary to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AdAssetPolicySummary
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AssetLinkPrimaryStatusDetails. */
interface IAssetLinkPrimaryStatusDetails {
/** AssetLinkPrimaryStatusDetails reason */
reason?: (google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason|keyof typeof google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason|null);
/** AssetLinkPrimaryStatusDetails status */
status?: (google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus|keyof typeof google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus|null);
/** AssetLinkPrimaryStatusDetails asset_disapproved */
asset_disapproved?: (google.ads.googleads.v15.common.IAssetDisapproved|null);
}
/** Represents an AssetLinkPrimaryStatusDetails. */
class AssetLinkPrimaryStatusDetails implements IAssetLinkPrimaryStatusDetails {
/**
* Constructs a new AssetLinkPrimaryStatusDetails.
* @param [properties] Properties to set
*/
constructor(properties?: google.ads.googleads.v15.common.IAssetLinkPrimaryStatusDetails);
/** AssetLinkPrimaryStatusDetails reason. */
public reason?: (google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason|keyof typeof google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason|null);
/** AssetLinkPrimaryStatusDetails status. */
public status?: (google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus|keyof typeof google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus|null);
/** AssetLinkPrimaryStatusDetails asset_disapproved. */
public asset_disapproved?: (google.ads.googleads.v15.common.IAssetDisapproved|null);
/** AssetLinkPrimaryStatusDetails _reason. */
public _reason?: "reason";
/** AssetLinkPrimaryStatusDetails _status. */
public _status?: "status";
/** AssetLinkPrimaryStatusDetails details. */
public details?: "asset_disapproved";
/**
* Creates a new AssetLinkPrimaryStatusDetails instance using the specified properties.
* @param [properties] Properties to set
* @returns AssetLinkPrimaryStatusDetails instance
*/
public static create(properties?: google.ads.googleads.v15.common.IAssetLinkPrimaryStatusDetails): google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails;
/**
* Encodes the specified AssetLinkPrimaryStatusDetails message. Does not implicitly {@link google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails.verify|verify} messages.
* @param message AssetLinkPrimaryStatusDetails message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.ads.googleads.v15.common.IAssetLinkPrimaryStatusDetails, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AssetLinkPrimaryStatusDetails message, length delimited. Does not implicitly {@link google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails.verify|verify} messages.
* @param message AssetLinkPrimaryStatusDetails message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.ads.googleads.v15.common.IAssetLinkPrimaryStatusDetails, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AssetLinkPrimaryStatusDetails message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AssetLinkPrimaryStatusDetails
* @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.v15.common.AssetLinkPrimaryStatusDetails;
/**
* Decodes an AssetLinkPrimaryStatusDetails message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AssetLinkPrimaryStatusDetails