google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
53 lines (52 loc) • 1.99 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";
/**
* A carrier criterion that can be used in campaign targeting.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CarrierConstant
*/
export interface CarrierConstant {
/**
* Output only. The resource name of the carrier criterion.
* Carrier criterion resource names have the form:
*
* `carrierConstants/{criterion_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the carrier criterion.
*
* @generated from protobuf field: optional int64 id = 5;
*/
id?: bigint;
/**
* Output only. The full name of the carrier in English.
*
* @generated from protobuf field: optional string name = 6;
*/
name?: string;
/**
* Output only. The country code of the country where the carrier is located, for example,
* "AR", "FR", etc.
*
* @generated from protobuf field: optional string country_code = 7;
*/
countryCode?: string;
}
declare class CarrierConstant$Type extends MessageType<CarrierConstant> {
constructor();
create(value?: PartialMessage<CarrierConstant>): CarrierConstant;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CarrierConstant): CarrierConstant;
internalBinaryWrite(message: CarrierConstant, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CarrierConstant
*/
export declare const CarrierConstant: CarrierConstant$Type;
export {};