google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
137 lines (136 loc) • 4.72 kB
TypeScript
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
* Values for Promotion placeholder fields.
*
* @generated from protobuf message google.ads.googleads.v11.enums.PromotionPlaceholderFieldEnum
*/
export interface PromotionPlaceholderFieldEnum {
}
/**
* Possible values for Promotion placeholder fields.
*
* @generated from protobuf enum google.ads.googleads.v11.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField
*/
export declare enum PromotionPlaceholderFieldEnum_PromotionPlaceholderField {
/**
* Not specified.
*
* @generated from protobuf enum value: UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* Used for return value only. Represents value unknown in this version.
*
* @generated from protobuf enum value: UNKNOWN = 1;
*/
UNKNOWN = 1,
/**
* Data Type: STRING. The text that appears on the ad when the extension is
* shown.
*
* @generated from protobuf enum value: PROMOTION_TARGET = 2;
*/
PROMOTION_TARGET = 2,
/**
* Data Type: STRING. Lets you add "up to" phrase to the promotion,
* in case you have variable promotion rates.
*
* @generated from protobuf enum value: DISCOUNT_MODIFIER = 3;
*/
DISCOUNT_MODIFIER = 3,
/**
* Data Type: INT64. Takes a value in micros, where 1 million micros
* represents 1%, and is shown as a percentage when rendered.
*
* @generated from protobuf enum value: PERCENT_OFF = 4;
*/
PERCENT_OFF = 4,
/**
* Data Type: MONEY. Requires a currency and an amount of money.
*
* @generated from protobuf enum value: MONEY_AMOUNT_OFF = 5;
*/
MONEY_AMOUNT_OFF = 5,
/**
* Data Type: STRING. A string that the user enters to get the discount.
*
* @generated from protobuf enum value: PROMOTION_CODE = 6;
*/
PROMOTION_CODE = 6,
/**
* Data Type: MONEY. A minimum spend before the user qualifies for the
* promotion.
*
* @generated from protobuf enum value: ORDERS_OVER_AMOUNT = 7;
*/
ORDERS_OVER_AMOUNT = 7,
/**
* Data Type: DATE. The start date of the promotion.
*
* @generated from protobuf enum value: PROMOTION_START = 8;
*/
PROMOTION_START = 8,
/**
* Data Type: DATE. The end date of the promotion.
*
* @generated from protobuf enum value: PROMOTION_END = 9;
*/
PROMOTION_END = 9,
/**
* Data Type: STRING. Describes the associated event for the promotion using
* one of the PromotionExtensionOccasion enum values, for example NEW_YEARS.
*
* @generated from protobuf enum value: OCCASION = 10;
*/
OCCASION = 10,
/**
* Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded
* URLs.
*
* @generated from protobuf enum value: FINAL_URLS = 11;
*/
FINAL_URLS = 11,
/**
* Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
* URLs.
*
* @generated from protobuf enum value: FINAL_MOBILE_URLS = 12;
*/
FINAL_MOBILE_URLS = 12,
/**
* Data Type: URL. Tracking template for the ad when using Upgraded URLs.
*
* @generated from protobuf enum value: TRACKING_URL = 13;
*/
TRACKING_URL = 13,
/**
* Data Type: STRING. A string represented by a language code for the
* promotion.
*
* @generated from protobuf enum value: LANGUAGE = 14;
*/
LANGUAGE = 14,
/**
* Data Type: STRING. Final URL suffix for the ad when using parallel
* tracking.
*
* @generated from protobuf enum value: FINAL_URL_SUFFIX = 15;
*/
FINAL_URL_SUFFIX = 15
}
declare class PromotionPlaceholderFieldEnum$Type extends MessageType<PromotionPlaceholderFieldEnum> {
constructor();
create(value?: PartialMessage<PromotionPlaceholderFieldEnum>): PromotionPlaceholderFieldEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PromotionPlaceholderFieldEnum): PromotionPlaceholderFieldEnum;
internalBinaryWrite(message: PromotionPlaceholderFieldEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.enums.PromotionPlaceholderFieldEnum
*/
export declare const PromotionPlaceholderFieldEnum: PromotionPlaceholderFieldEnum$Type;
export {};