google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
71 lines (70 loc) • 2.85 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 { FeedLinkStatusEnum_FeedLinkStatus } from "../enums/feed_link_status";
import { MatchingFunction } from "../common/matching_function";
import { PlaceholderTypeEnum_PlaceholderType } from "../enums/placeholder_type";
/**
* An ad group feed.
*
* @generated from protobuf message google.ads.googleads.v11.resources.AdGroupFeed
*/
export interface AdGroupFeed {
/**
* Immutable. The resource name of the ad group feed.
* Ad group feed resource names have the form:
*
* `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The feed being linked to the ad group.
*
* @generated from protobuf field: optional string feed = 7;
*/
feed?: string;
/**
* Immutable. The ad group being linked to the feed.
*
* @generated from protobuf field: optional string ad_group = 8;
*/
adGroup?: string;
/**
* Indicates which placeholder types the feed may populate under the connected
* ad group. Required.
*
* @generated from protobuf field: repeated google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
*/
placeholderTypes: PlaceholderTypeEnum_PlaceholderType[];
/**
* Matching function associated with the AdGroupFeed.
* The matching function is used to filter the set of feed items selected.
* Required.
*
* @generated from protobuf field: google.ads.googleads.v11.common.MatchingFunction matching_function = 5;
*/
matchingFunction?: MatchingFunction;
/**
* Output only. Status of the ad group feed.
* This field is read-only.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6;
*/
status: FeedLinkStatusEnum_FeedLinkStatus;
}
declare class AdGroupFeed$Type extends MessageType<AdGroupFeed> {
constructor();
create(value?: PartialMessage<AdGroupFeed>): AdGroupFeed;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupFeed): AdGroupFeed;
internalBinaryWrite(message: AdGroupFeed, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.AdGroupFeed
*/
export declare const AdGroupFeed: AdGroupFeed$Type;
export {};