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.35 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 { TagSnippet } from "../common/tag_snippet";
/**
* A remarketing action. A snippet of JavaScript code that will collect the
* product id and the type of page people visited (product page, shopping cart
* page, purchase page, general site visit) on an advertiser's website.
*
* @generated from protobuf message google.ads.googleads.v11.resources.RemarketingAction
*/
export interface RemarketingAction {
/**
* Immutable. The resource name of the remarketing action.
* Remarketing action resource names have the form:
*
* `customers/{customer_id}/remarketingActions/{remarketing_action_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. Id of the remarketing action.
*
* @generated from protobuf field: optional int64 id = 5;
*/
id?: bigint;
/**
* The name of the remarketing action.
*
* This field is required and should not be empty when creating new
* remarketing actions.
*
* @generated from protobuf field: optional string name = 6;
*/
name?: string;
/**
* Output only. The snippets used for tracking remarketing actions.
*
* @generated from protobuf field: repeated google.ads.googleads.v11.common.TagSnippet tag_snippets = 4;
*/
tagSnippets: TagSnippet[];
}
declare class RemarketingAction$Type extends MessageType<RemarketingAction> {
constructor();
create(value?: PartialMessage<RemarketingAction>): RemarketingAction;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RemarketingAction): RemarketingAction;
internalBinaryWrite(message: RemarketingAction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.RemarketingAction
*/
export declare const RemarketingAction: RemarketingAction$Type;
export {};