google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
54 lines (53 loc) • 2.76 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 { AssetUsage } from "../common/asset_usage";
/**
* A view on the usage of ad group ad asset combination.
* Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads,
* with more ad types planned for the future.
*
* @generated from protobuf message google.ads.googleads.v11.resources.AdGroupAdAssetCombinationView
*/
export interface AdGroupAdAssetCombinationView {
/**
* Output only. The resource name of the ad group ad asset combination view. The
* combination ID is 128 bits long, where the upper 64 bits are stored in
* asset_combination_id_high, and the lower 64 bits are stored in
* asset_combination_id_low.
* AdGroupAd Asset Combination view resource names have the form:
* `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. Served assets.
*
* @generated from protobuf field: repeated google.ads.googleads.v11.common.AssetUsage served_assets = 2;
*/
servedAssets: AssetUsage[];
/**
* Output only. The status between the asset combination and the latest version of the ad.
* If true, the asset combination is linked to the latest version of the ad.
* If false, it means the link once existed but has been removed and is no
* longer present in the latest version of the ad.
*
* @generated from protobuf field: optional bool enabled = 3;
*/
enabled?: boolean;
}
declare class AdGroupAdAssetCombinationView$Type extends MessageType<AdGroupAdAssetCombinationView> {
constructor();
create(value?: PartialMessage<AdGroupAdAssetCombinationView>): AdGroupAdAssetCombinationView;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupAdAssetCombinationView): AdGroupAdAssetCombinationView;
internalBinaryWrite(message: AdGroupAdAssetCombinationView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.AdGroupAdAssetCombinationView
*/
export declare const AdGroupAdAssetCombinationView: AdGroupAdAssetCombinationView$Type;
export {};