google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
62 lines (61 loc) • 2.59 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 { PlacementTypeEnum_PlacementType } from "../enums/placement_type";
/**
* A group placement view.
*
* @generated from protobuf message google.ads.googleads.v11.resources.GroupPlacementView
*/
export interface GroupPlacementView {
/**
* Output only. The resource name of the group placement view.
* Group placement view resource names have the form:
*
* `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The automatic placement string at group level, e. g. web domain, mobile
* app ID, or a YouTube channel ID.
*
* @generated from protobuf field: optional string placement = 6;
*/
placement?: string;
/**
* Output only. Domain name for websites and YouTube channel name for YouTube channels.
*
* @generated from protobuf field: optional string display_name = 7;
*/
displayName?: string;
/**
* Output only. URL of the group placement, for example, domain, link to the mobile
* application in app store, or a YouTube channel URL.
*
* @generated from protobuf field: optional string target_url = 8;
*/
targetUrl?: string;
/**
* Output only. Type of the placement, for example, Website, YouTube Channel, Mobile
* Application.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.PlacementTypeEnum.PlacementType placement_type = 5;
*/
placementType: PlacementTypeEnum_PlacementType;
}
declare class GroupPlacementView$Type extends MessageType<GroupPlacementView> {
constructor();
create(value?: PartialMessage<GroupPlacementView>): GroupPlacementView;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GroupPlacementView): GroupPlacementView;
internalBinaryWrite(message: GroupPlacementView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.GroupPlacementView
*/
export declare const GroupPlacementView: GroupPlacementView$Type;
export {};