google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
65 lines (64 loc) • 2.67 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 customer feed.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CustomerFeed
*/
export interface CustomerFeed {
/**
* Immutable. The resource name of the customer feed.
* Customer feed resource names have the form:
*
* `customers/{customer_id}/customerFeeds/{feed_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The feed being linked to the customer.
*
* @generated from protobuf field: optional string feed = 6;
*/
feed?: string;
/**
* Indicates which placeholder types the feed may populate under the connected
* customer. Required.
*
* @generated from protobuf field: repeated google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 3;
*/
placeholderTypes: PlaceholderTypeEnum_PlaceholderType[];
/**
* Matching function associated with the CustomerFeed.
* 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 = 4;
*/
matchingFunction?: MatchingFunction;
/**
* Output only. Status of the customer feed.
* This field is read-only.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5;
*/
status: FeedLinkStatusEnum_FeedLinkStatus;
}
declare class CustomerFeed$Type extends MessageType<CustomerFeed> {
constructor();
create(value?: PartialMessage<CustomerFeed>): CustomerFeed;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomerFeed): CustomerFeed;
internalBinaryWrite(message: CustomerFeed, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CustomerFeed
*/
export declare const CustomerFeed: CustomerFeed$Type;
export {};