google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
70 lines (69 loc) • 3.01 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 view with metrics aggregated by ad group and URL or YouTube video.
*
* @generated from protobuf message google.ads.googleads.v11.resources.DetailPlacementView
*/
export interface DetailPlacementView {
/**
* Output only. The resource name of the detail placement view.
* Detail placement view resource names have the form:
*
* `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The automatic placement string at detail level, e. g. website URL, mobile
* application ID, or a YouTube video ID.
*
* @generated from protobuf field: optional string placement = 7;
*/
placement?: string;
/**
* Output only. The display name is URL name for websites, YouTube video name for YouTube
* videos, and translated mobile app name for mobile apps.
*
* @generated from protobuf field: optional string display_name = 8;
*/
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 group_placement_target_url = 9;
*/
groupPlacementTargetUrl?: string;
/**
* Output only. URL of the placement, for example, website, link to the mobile application
* in app store, or a YouTube video URL.
*
* @generated from protobuf field: optional string target_url = 10;
*/
targetUrl?: string;
/**
* Output only. Type of the placement, for example, Website, YouTube Video, and Mobile
* Application.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.PlacementTypeEnum.PlacementType placement_type = 6;
*/
placementType: PlacementTypeEnum_PlacementType;
}
declare class DetailPlacementView$Type extends MessageType<DetailPlacementView> {
constructor();
create(value?: PartialMessage<DetailPlacementView>): DetailPlacementView;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DetailPlacementView): DetailPlacementView;
internalBinaryWrite(message: DetailPlacementView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.DetailPlacementView
*/
export declare const DetailPlacementView: DetailPlacementView$Type;
export {};