google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
90 lines (89 loc) • 3.36 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 dynamic search ads search term view.
*
* @generated from protobuf message google.ads.googleads.v11.resources.DynamicSearchAdsSearchTermView
*/
export interface DynamicSearchAdsSearchTermView {
/**
* Output only. The resource name of the dynamic search ads search term view.
* Dynamic search ads search term view resource names have the form:
*
* `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. Search term
*
* This field is read-only.
*
* @generated from protobuf field: optional string search_term = 9;
*/
searchTerm?: string;
/**
* Output only. The dynamically generated headline of the Dynamic Search Ad.
*
* This field is read-only.
*
* @generated from protobuf field: optional string headline = 10;
*/
headline?: string;
/**
* Output only. The dynamically selected landing page URL of the impression.
*
* This field is read-only.
*
* @generated from protobuf field: optional string landing_page = 11;
*/
landingPage?: string;
/**
* Output only. The URL of page feed item served for the impression.
*
* This field is read-only.
*
* @generated from protobuf field: optional string page_url = 12;
*/
pageUrl?: string;
/**
* Output only. True if query matches a negative keyword.
*
* This field is read-only.
*
* @generated from protobuf field: optional bool has_negative_keyword = 13;
*/
hasNegativeKeyword?: boolean;
/**
* Output only. True if query is added to targeted keywords.
*
* This field is read-only.
*
* @generated from protobuf field: optional bool has_matching_keyword = 14;
*/
hasMatchingKeyword?: boolean;
/**
* Output only. True if query matches a negative url.
*
* This field is read-only.
*
* @generated from protobuf field: optional bool has_negative_url = 15;
*/
hasNegativeUrl?: boolean;
}
declare class DynamicSearchAdsSearchTermView$Type extends MessageType<DynamicSearchAdsSearchTermView> {
constructor();
create(value?: PartialMessage<DynamicSearchAdsSearchTermView>): DynamicSearchAdsSearchTermView;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DynamicSearchAdsSearchTermView): DynamicSearchAdsSearchTermView;
internalBinaryWrite(message: DynamicSearchAdsSearchTermView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.DynamicSearchAdsSearchTermView
*/
export declare const DynamicSearchAdsSearchTermView: DynamicSearchAdsSearchTermView$Type;
export {};