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.87 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";
/**
* A campaign feed.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CampaignFeed
*/
export interface CampaignFeed {
/**
* Immutable. The resource name of the campaign feed.
* Campaign feed resource names have the form:
*
* `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The feed to which the CampaignFeed belongs.
*
* @generated from protobuf field: optional string feed = 7;
*/
feed?: string;
/**
* Immutable. The campaign to which the CampaignFeed belongs.
*
* @generated from protobuf field: optional string campaign = 8;
*/
campaign?: string;
/**
* Indicates which placeholder types the feed may populate under the connected
* campaign. Required.
*
* @generated from protobuf field: repeated google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
*/
placeholderTypes: PlaceholderTypeEnum_PlaceholderType[];
/**
* Matching function associated with the CampaignFeed.
* 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 campaign feed.
* This field is read-only.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6;
*/
status: FeedLinkStatusEnum_FeedLinkStatus;
}
declare class CampaignFeed$Type extends MessageType<CampaignFeed> {
constructor();
create(value?: PartialMessage<CampaignFeed>): CampaignFeed;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CampaignFeed): CampaignFeed;
internalBinaryWrite(message: CampaignFeed, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CampaignFeed
*/
export declare const CampaignFeed: CampaignFeed$Type;
export {};