google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
58 lines (57 loc) • 2.68 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";
import { ConversionOriginEnum_ConversionOrigin } from "../enums/conversion_origin";
import { ConversionActionCategoryEnum_ConversionActionCategory } from "../enums/conversion_action_category";
/**
* Biddability control for conversion actions with a matching category and
* origin.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CustomerConversionGoal
*/
export interface CustomerConversionGoal {
/**
* Immutable. The resource name of the customer conversion goal.
* Customer conversion goal resource names have the form:
*
* `customers/{customer_id}/customerConversionGoals/{category}~{origin}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* The conversion category of this customer conversion goal. Only
* conversion actions that have this category will be included in this goal.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 2;
*/
category: ConversionActionCategoryEnum_ConversionActionCategory;
/**
* The conversion origin of this customer conversion goal. Only
* conversion actions that have this conversion origin will be included in
* this goal.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.ConversionOriginEnum.ConversionOrigin origin = 3;
*/
origin: ConversionOriginEnum_ConversionOrigin;
/**
* The biddability of the customer conversion goal.
*
* @generated from protobuf field: bool biddable = 4;
*/
biddable: boolean;
}
declare class CustomerConversionGoal$Type extends MessageType<CustomerConversionGoal> {
constructor();
create(value?: PartialMessage<CustomerConversionGoal>): CustomerConversionGoal;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomerConversionGoal): CustomerConversionGoal;
internalBinaryWrite(message: CustomerConversionGoal, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CustomerConversionGoal
*/
export declare const CustomerConversionGoal: CustomerConversionGoal$Type;
export {};