google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
67 lines (66 loc) • 2.73 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 { KeywordMatchTypeEnum_KeywordMatchType } from "../enums/keyword_match_type";
/**
* A Keyword Plan Campaign keyword.
* Only negative keywords are supported for Campaign Keyword.
*
* @generated from protobuf message google.ads.googleads.v11.resources.KeywordPlanCampaignKeyword
*/
export interface KeywordPlanCampaignKeyword {
/**
* Immutable. The resource name of the Keyword Plan Campaign keyword.
* KeywordPlanCampaignKeyword resource names have the form:
*
* `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* The Keyword Plan campaign to which this negative keyword belongs.
*
* @generated from protobuf field: optional string keyword_plan_campaign = 8;
*/
keywordPlanCampaign?: string;
/**
* Output only. The ID of the Keyword Plan negative keyword.
*
* @generated from protobuf field: optional int64 id = 9;
*/
id?: bigint;
/**
* The keyword text.
*
* @generated from protobuf field: optional string text = 10;
*/
text?: string;
/**
* The keyword match type.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5;
*/
matchType: KeywordMatchTypeEnum_KeywordMatchType;
/**
* Immutable. If true, the keyword is negative.
* Must be set to true. Only negative campaign keywords are supported.
*
* @generated from protobuf field: optional bool negative = 11;
*/
negative?: boolean;
}
declare class KeywordPlanCampaignKeyword$Type extends MessageType<KeywordPlanCampaignKeyword> {
constructor();
create(value?: PartialMessage<KeywordPlanCampaignKeyword>): KeywordPlanCampaignKeyword;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KeywordPlanCampaignKeyword): KeywordPlanCampaignKeyword;
internalBinaryWrite(message: KeywordPlanCampaignKeyword, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.KeywordPlanCampaignKeyword
*/
export declare const KeywordPlanCampaignKeyword: KeywordPlanCampaignKeyword$Type;
export {};