google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
64 lines (63 loc) • 2.46 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";
/**
* A Keyword Planner ad group.
* Max number of keyword plan ad groups per plan: 200.
*
* @generated from protobuf message google.ads.googleads.v11.resources.KeywordPlanAdGroup
*/
export interface KeywordPlanAdGroup {
/**
* Immutable. The resource name of the Keyword Planner ad group.
* KeywordPlanAdGroup resource names have the form:
*
* `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* The keyword plan campaign to which this ad group belongs.
*
* @generated from protobuf field: optional string keyword_plan_campaign = 6;
*/
keywordPlanCampaign?: string;
/**
* Output only. The ID of the keyword plan ad group.
*
* @generated from protobuf field: optional int64 id = 7;
*/
id?: bigint;
/**
* The name of the keyword plan ad group.
*
* This field is required and should not be empty when creating keyword plan
* ad group.
*
* @generated from protobuf field: optional string name = 8;
*/
name?: string;
/**
* A default ad group max cpc bid in micros in account currency for all
* biddable keywords under the keyword plan ad group.
* If not set, will inherit from parent campaign.
*
* @generated from protobuf field: optional int64 cpc_bid_micros = 9;
*/
cpcBidMicros?: bigint;
}
declare class KeywordPlanAdGroup$Type extends MessageType<KeywordPlanAdGroup> {
constructor();
create(value?: PartialMessage<KeywordPlanAdGroup>): KeywordPlanAdGroup;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KeywordPlanAdGroup): KeywordPlanAdGroup;
internalBinaryWrite(message: KeywordPlanAdGroup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.KeywordPlanAdGroup
*/
export declare const KeywordPlanAdGroup: KeywordPlanAdGroup$Type;
export {};