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"; import { PromotionExtensionOccasionEnum_PromotionExtensionOccasion } from "../enums/promotion_extension_occasion"; import { PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier } from "../enums/promotion_extension_discount_modifier"; import { PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit } from "../enums/price_extension_price_unit"; import { Money } from "./feed_common"; import { PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier } from "../enums/price_extension_price_qualifier"; import { PriceExtensionTypeEnum_PriceExtensionType } from "../enums/price_extension_type"; import { CallConversionReportingStateEnum_CallConversionReportingState } from "../enums/call_conversion_reporting_state"; import { CustomParameter } from "./custom_parameter"; import { AppStoreEnum_AppStore } from "../enums/app_store"; /** * Represents an App extension. * * @generated from protobuf message google.ads.googleads.v11.common.AppFeedItem */ export interface AppFeedItem { /** * The visible text displayed when the link is rendered in an ad. * This string must not be empty, and the length of this string should * be between 1 and 25, inclusive. * * @generated from protobuf field: optional string link_text = 9; */ linkText?: string; /** * The store-specific ID for the target application. * This string must not be empty. * * @generated from protobuf field: optional string app_id = 10; */ appId?: string; /** * The application store that the target application belongs to. * This field is required. * * @generated from protobuf field: google.ads.googleads.v11.enums.AppStoreEnum.AppStore app_store = 3; */ appStore: AppStoreEnum_AppStore; /** * A list of possible final URLs after all cross domain redirects. * This list must not be empty. * * @generated from protobuf field: repeated string final_urls = 11; */ finalUrls: string[]; /** * A list of possible final mobile URLs after all cross domain redirects. * * @generated from protobuf field: repeated string final_mobile_urls = 12; */ finalMobileUrls: string[]; /** * URL template for constructing a tracking URL. Default value is "{lpurl}". * * @generated from protobuf field: optional string tracking_url_template = 13; */ trackingUrlTemplate?: string; /** * A list of mappings to be used for substituting URL custom parameter tags in * the tracking_url_template, final_urls, and/or final_mobile_urls. * * @generated from protobuf field: repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 7; */ urlCustomParameters: CustomParameter[]; /** * URL template for appending params to landing page URLs served with parallel * tracking. * * @generated from protobuf field: optional string final_url_suffix = 14; */ finalUrlSuffix?: string; } /** * Represents a Call extension. * * @generated from protobuf message google.ads.googleads.v11.common.CallFeedItem */ export interface CallFeedItem { /** * The advertiser's phone number to append to the ad. * This string must not be empty. * * @generated from protobuf field: optional string phone_number = 7; */ phoneNumber?: string; /** * Uppercase two-letter country code of the advertiser's phone number. * This string must not be empty. * * @generated from protobuf field: optional string country_code = 8; */ countryCode?: string; /** * Indicates whether call tracking is enabled. By default, call tracking is * not enabled. * * @generated from protobuf field: optional bool call_tracking_enabled = 9; */ callTrackingEnabled?: boolean; /** * The conversion action to attribute a call conversion to. If not set a * default conversion action is used. This field only has effect if * call_tracking_enabled is set to true. Otherwise this field is ignored. * * @generated from protobuf field: optional string call_conversion_action = 10; */ callConversionAction?: string; /** * If true, disable call conversion tracking. call_conversion_action should * not be set if this is true. Optional. * * @generated from protobuf field: optional bool call_conversion_tracking_disabled = 11; */ callConversionTrackingDisabled?: boolean; /** * Enum value that indicates whether this call extension uses its own call * conversion setting (or just have call conversion disabled), or following * the account level setting. * * @generated from protobuf field: google.ads.googleads.v11.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 6; */ callConversionReportingState: CallConversionReportingStateEnum_CallConversionReportingState; } /** * Represents a callout extension. * * @generated from protobuf message google.ads.googleads.v11.common.CalloutFeedItem */ export interface CalloutFeedItem { /** * The callout text. * The length of this string should be between 1 and 25, inclusive. * * @generated from protobuf field: optional string callout_text = 2; */ calloutText?: string; } /** * Represents a location extension. * * @generated from protobuf message google.ads.googleads.v11.common.LocationFeedItem */ export interface LocationFeedItem { /** * The name of the business. * * @generated from protobuf field: optional string business_name = 9; */ businessName?: string; /** * Line 1 of the business address. * * @generated from protobuf field: optional string address_line_1 = 10; */ addressLine1?: string; /** * Line 2 of the business address. * * @generated from protobuf field: optional string address_line_2 = 11; */ addressLine2?: string; /** * City of the business address. * * @generated from protobuf field: optional string city = 12; */ city?: string; /** * Province of the business address. * * @generated from protobuf field: optional string province = 13; */ province?: string; /** * Postal code of the business address. * * @generated from protobuf field: optional string postal_code = 14; */ postalCode?: string; /** * Country code of the business address. * * @generated from protobuf field: optional string country_code = 15; */ countryCode?: string; /** * Phone number of the business. * * @generated from protobuf field: optional string phone_number = 16; */ phoneNumber?: string; } /** * Represents an affiliate location extension. * * @generated from protobuf message google.ads.googleads.v11.common.AffiliateLocationFeedItem */ export interface AffiliateLocationFeedItem { /** * The name of the business. * * @generated from protobuf field: optional string business_name = 11; */ businessName?: string; /** * Line 1 of the business address. * * @generated from protobuf field: optional string address_line_1 = 12; */ addressLine1?: string; /** * Line 2 of the business address. * * @generated from protobuf field: optional string address_line_2 = 13; */ addressLine2?: string; /** * City of the business address. * * @generated from protobuf field: optional string city = 14; */ city?: string; /** * Province of the business address. * * @generated from protobuf field: optional string province = 15; */ province?: string; /** * Postal code of the business address. * * @generated from protobuf field: optional string postal_code = 16; */ postalCode?: string; /** * Country code of the business address. * * @generated from protobuf field: optional string country_code = 17; */ countryCode?: string; /** * Phone number of the business. * * @generated from protobuf field: optional string phone_number = 18; */ phoneNumber?: string; /** * Id of the retail chain that is advertised as a seller of your product. * * @generated from protobuf field: optional int64 chain_id = 19; */ chainId?: bigint; /** * Name of chain. * * @generated from protobuf field: optional string chain_name = 20; */ chainName?: string; } /** * An extension that users can click on to send a text message to the * advertiser. * * @generated from protobuf message google.ads.googleads.v11.common.TextMessageFeedItem */ export interface TextMessageFeedItem { /** * The business name to prepend to the message text. * This field is required. * * @generated from protobuf field: optional string business_name = 6; */ businessName?: string; /** * Uppercase two-letter country code of the advertiser's phone number. * This field is required. * * @generated from protobuf field: optional string country_code = 7; */ countryCode?: string; /** * The advertiser's phone number the message will be sent to. Required. * * @generated from protobuf field: optional string phone_number = 8; */ phoneNumber?: string; /** * The text to show in the ad. * This field is required. * * @generated from protobuf field: optional string text = 9; */ text?: string; /** * The message extension_text populated in the messaging app. * * @generated from protobuf field: optional string extension_text = 10; */ extensionText?: string; } /** * Represents a Price extension. * * @generated from protobuf message google.ads.googleads.v11.common.PriceFeedItem */ export interface PriceFeedItem { /** * Price extension type of this extension. * * @generated from protobuf field: google.ads.googleads.v11.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; */ type: PriceExtensionTypeEnum_PriceExtensionType; /** * Price qualifier for all offers of this price extension. * * @generated from protobuf field: google.ads.googleads.v11.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; */ priceQualifier: PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier; /** * Tracking URL template for all offers of this price extension. * * @generated from protobuf field: optional string tracking_url_template = 7; */ trackingUrlTemplate?: string; /** * The code of the language used for this price extension. * * @generated from protobuf field: optional string language_code = 8; */ languageCode?: string; /** * The price offerings in this price extension. * * @generated from protobuf field: repeated google.ads.googleads.v11.common.PriceOffer price_offerings = 5; */ priceOfferings: PriceOffer[]; /** * Tracking URL template for all offers of this price extension. * * @generated from protobuf field: optional string final_url_suffix = 9; */ finalUrlSuffix?: string; } /** * Represents one price offer in a price extension. * * @generated from protobuf message google.ads.googleads.v11.common.PriceOffer */ export interface PriceOffer { /** * Header text of this offer. * * @generated from protobuf field: optional string header = 7; */ header?: string; /** * Description text of this offer. * * @generated from protobuf field: optional string description = 8; */ description?: string; /** * Price value of this offer. * * @generated from protobuf field: google.ads.googleads.v11.common.Money price = 3; */ price?: Money; /** * Price unit for this offer. * * @generated from protobuf field: google.ads.googleads.v11.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; */ unit: PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit; /** * A list of possible final URLs after all cross domain redirects. * * @generated from protobuf field: repeated string final_urls = 9; */ finalUrls: string[]; /** * A list of possible final mobile URLs after all cross domain redirects. * * @generated from protobuf field: repeated string final_mobile_urls = 10; */ finalMobileUrls: string[]; } /** * Represents a Promotion extension. * * @generated from protobuf message google.ads.googleads.v11.common.PromotionFeedItem */ export interface PromotionFeedItem { /** * A freeform description of what the promotion is targeting. * This field is required. * * @generated from protobuf field: optional string promotion_target = 16; */ promotionTarget?: string; /** * Enum that modifies the qualification of the discount. * * @generated from protobuf field: google.ads.googleads.v11.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; */ discountModifier: PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier; /** * Start date of when the promotion is eligible to be redeemed. * * @generated from protobuf field: optional string promotion_start_date = 19; */ promotionStartDate?: string; /** * Last date when the promotion is eligible to be redeemed. * * @generated from protobuf field: optional string promotion_end_date = 20; */ promotionEndDate?: string; /** * The occasion the promotion was intended for. * If an occasion is set, the redemption window will need to fall within * the date range associated with the occasion. * * @generated from protobuf field: google.ads.googleads.v11.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; */ occasion: PromotionExtensionOccasionEnum_PromotionExtensionOccasion; /** * A list of possible final URLs after all cross domain redirects. * This field is required. * * @generated from protobuf field: repeated string final_urls = 21; */ finalUrls: string[]; /** * A list of possible final mobile URLs after all cross domain redirects. * * @generated from protobuf field: repeated string final_mobile_urls = 22; */ finalMobileUrls: string[]; /** * URL template for constructing a tracking URL. * * @generated from protobuf field: optional string tracking_url_template = 23; */ trackingUrlTemplate?: string; /** * A list of mappings to be used for substituting URL custom parameter tags in * the tracking_url_template, final_urls, and/or final_mobile_urls. * * @generated from protobuf field: repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 13; */ urlCustomParameters: CustomParameter[]; /** * URL template for appending params to landing page URLs served with parallel * tracking. * * @generated from protobuf field: optional string final_url_suffix = 24; */ finalUrlSuffix?: string; /** * The language of the promotion. * Represented as BCP 47 language tag. * * @generated from protobuf field: optional string language_code = 25; */ languageCode?: string; /** * @generated from protobuf oneof: discount_type */ discountType: { oneofKind: "percentOff"; /** * Percentage off discount in the promotion in micros. * One million is equivalent to one percent. * Either this or money_off_amount is required. * * @generated from protobuf field: int64 percent_off = 17; */ percentOff: bigint; } | { oneofKind: "moneyAmountOff"; /** * Money amount off for discount in the promotion. * Either this or percent_off is required. * * @generated from protobuf field: google.ads.googleads.v11.common.Money money_amount_off = 4; */ moneyAmountOff: Money; } | { oneofKind: undefined; }; /** * @generated from protobuf oneof: promotion_trigger */ promotionTrigger: { oneofKind: "promotionCode"; /** * A code the user should use in order to be eligible for the promotion. * * @generated from protobuf field: string promotion_code = 18; */ promotionCode: string; } | { oneofKind: "ordersOverAmount"; /** * The amount the total order needs to be for the user to be eligible for * the promotion. * * @generated from protobuf field: google.ads.googleads.v11.common.Money orders_over_amount = 6; */ ordersOverAmount: Money; } | { oneofKind: undefined; }; } /** * Represents a structured snippet extension. * * @generated from protobuf message google.ads.googleads.v11.common.StructuredSnippetFeedItem */ export interface StructuredSnippetFeedItem { /** * The header of the snippet. * This string must not be empty. * * @generated from protobuf field: optional string header = 3; */ header?: string; /** * The values in the snippet. * The maximum size of this collection is 10. * * @generated from protobuf field: repeated string values = 4; */ values: string[]; } /** * Represents a sitelink extension. * * @generated from protobuf message google.ads.googleads.v11.common.SitelinkFeedItem */ export interface SitelinkFeedItem { /** * URL display text for the sitelink. * The length of this string should be between 1 and 25, inclusive. * * @generated from protobuf field: optional string link_text = 9; */ linkText?: string; /** * First line of the description for the sitelink. * If this value is set, line2 must also be set. * The length of this string should be between 0 and 35, inclusive. * * @generated from protobuf field: optional string line1 = 10; */ line1?: string; /** * Second line of the description for the sitelink. * If this value is set, line1 must also be set. * The length of this string should be between 0 and 35, inclusive. * * @generated from protobuf field: optional string line2 = 11; */ line2?: string; /** * A list of possible final URLs after all cross domain redirects. * * @generated from protobuf field: repeated string final_urls = 12; */ finalUrls: string[]; /** * A list of possible final mobile URLs after all cross domain redirects. * * @generated from protobuf field: repeated string final_mobile_urls = 13; */ finalMobileUrls: string[]; /** * URL template for constructing a tracking URL. * * @generated from protobuf field: optional string tracking_url_template = 14; */ trackingUrlTemplate?: string; /** * A list of mappings to be used for substituting URL custom parameter tags in * the tracking_url_template, final_urls, and/or final_mobile_urls. * * @generated from protobuf field: repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 7; */ urlCustomParameters: CustomParameter[]; /** * Final URL suffix to be appended to landing page URLs served with * parallel tracking. * * @generated from protobuf field: optional string final_url_suffix = 15; */ finalUrlSuffix?: string; } /** * Represents a hotel callout extension. * * @generated from protobuf message google.ads.googleads.v11.common.HotelCalloutFeedItem */ export interface HotelCalloutFeedItem { /** * The callout text. * The length of this string should be between 1 and 25, inclusive. * * @generated from protobuf field: optional string text = 3; */ text?: string; /** * The language of the hotel callout text. * IETF BCP 47 compliant language code. * * @generated from protobuf field: optional string language_code = 4; */ languageCode?: string; } /** * Represents an advertiser provided image extension. * * @generated from protobuf message google.ads.googleads.v11.common.ImageFeedItem */ export interface ImageFeedItem { /** * Required. Resource name of the image asset. * * @generated from protobuf field: string image_asset = 1; */ imageAsset: string; } declare class AppFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): AppFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppFeedItem): AppFeedItem; internalBinaryWrite(message: AppFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.AppFeedItem */ export declare const AppFeedItem: AppFeedItem$Type; declare class CallFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): CallFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallFeedItem): CallFeedItem; internalBinaryWrite(message: CallFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.CallFeedItem */ export declare const CallFeedItem: CallFeedItem$Type; declare class CalloutFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): CalloutFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CalloutFeedItem): CalloutFeedItem; internalBinaryWrite(message: CalloutFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.CalloutFeedItem */ export declare const CalloutFeedItem: CalloutFeedItem$Type; declare class LocationFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): LocationFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocationFeedItem): LocationFeedItem; internalBinaryWrite(message: LocationFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.LocationFeedItem */ export declare const LocationFeedItem: LocationFeedItem$Type; declare class AffiliateLocationFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): AffiliateLocationFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AffiliateLocationFeedItem): AffiliateLocationFeedItem; internalBinaryWrite(message: AffiliateLocationFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.AffiliateLocationFeedItem */ export declare const AffiliateLocationFeedItem: AffiliateLocationFeedItem$Type; declare class TextMessageFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): TextMessageFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TextMessageFeedItem): TextMessageFeedItem; internalBinaryWrite(message: TextMessageFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.TextMessageFeedItem */ export declare const TextMessageFeedItem: TextMessageFeedItem$Type; declare class PriceFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): PriceFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PriceFeedItem): PriceFeedItem; internalBinaryWrite(message: PriceFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.PriceFeedItem */ export declare const PriceFeedItem: PriceFeedItem$Type; declare class PriceOffer$Type extends MessageType { constructor(); create(value?: PartialMessage): PriceOffer; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PriceOffer): PriceOffer; internalBinaryWrite(message: PriceOffer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.PriceOffer */ export declare const PriceOffer: PriceOffer$Type; declare class PromotionFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): PromotionFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PromotionFeedItem): PromotionFeedItem; internalBinaryWrite(message: PromotionFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.PromotionFeedItem */ export declare const PromotionFeedItem: PromotionFeedItem$Type; declare class StructuredSnippetFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): StructuredSnippetFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StructuredSnippetFeedItem): StructuredSnippetFeedItem; internalBinaryWrite(message: StructuredSnippetFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.StructuredSnippetFeedItem */ export declare const StructuredSnippetFeedItem: StructuredSnippetFeedItem$Type; declare class SitelinkFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): SitelinkFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SitelinkFeedItem): SitelinkFeedItem; internalBinaryWrite(message: SitelinkFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.SitelinkFeedItem */ export declare const SitelinkFeedItem: SitelinkFeedItem$Type; declare class HotelCalloutFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): HotelCalloutFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HotelCalloutFeedItem): HotelCalloutFeedItem; internalBinaryWrite(message: HotelCalloutFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.HotelCalloutFeedItem */ export declare const HotelCalloutFeedItem: HotelCalloutFeedItem$Type; declare class ImageFeedItem$Type extends MessageType { constructor(); create(value?: PartialMessage): ImageFeedItem; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ImageFeedItem): ImageFeedItem; internalBinaryWrite(message: ImageFeedItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.common.ImageFeedItem */ export declare const ImageFeedItem: ImageFeedItem$Type; export {};