google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
52 lines (51 loc) • 2.23 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 { GeoTargetingTypeEnum_GeoTargetingType } from "../enums/geo_targeting_type";
/**
* A geographic view.
*
* Geographic View includes all metrics aggregated at the country level,
* one row per country. It reports metrics at either actual physical location of
* the user or an area of interest. If other segment fields are used, you may
* get more than one row per country.
*
* @generated from protobuf message google.ads.googleads.v11.resources.GeographicView
*/
export interface GeographicView {
/**
* Output only. The resource name of the geographic view.
* Geographic view resource names have the form:
*
* `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. Type of the geo targeting of the campaign.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3;
*/
locationType: GeoTargetingTypeEnum_GeoTargetingType;
/**
* Output only. Criterion Id for the country.
*
* @generated from protobuf field: optional int64 country_criterion_id = 5;
*/
countryCriterionId?: bigint;
}
declare class GeographicView$Type extends MessageType<GeographicView> {
constructor();
create(value?: PartialMessage<GeographicView>): GeographicView;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeographicView): GeographicView;
internalBinaryWrite(message: GeographicView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.GeographicView
*/
export declare const GeographicView: GeographicView$Type;
export {};