google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
65 lines (64 loc) • 2.5 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 { MobileDeviceTypeEnum_MobileDeviceType } from "../enums/mobile_device_type";
/**
* A mobile device constant.
*
* @generated from protobuf message google.ads.googleads.v11.resources.MobileDeviceConstant
*/
export interface MobileDeviceConstant {
/**
* Output only. The resource name of the mobile device constant.
* Mobile device constant resource names have the form:
*
* `mobileDeviceConstants/{criterion_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the mobile device constant.
*
* @generated from protobuf field: optional int64 id = 7;
*/
id?: bigint;
/**
* Output only. The name of the mobile device.
*
* @generated from protobuf field: optional string name = 8;
*/
name?: string;
/**
* Output only. The manufacturer of the mobile device.
*
* @generated from protobuf field: optional string manufacturer_name = 9;
*/
manufacturerName?: string;
/**
* Output only. The operating system of the mobile device.
*
* @generated from protobuf field: optional string operating_system_name = 10;
*/
operatingSystemName?: string;
/**
* Output only. The type of mobile device.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6;
*/
type: MobileDeviceTypeEnum_MobileDeviceType;
}
declare class MobileDeviceConstant$Type extends MessageType<MobileDeviceConstant> {
constructor();
create(value?: PartialMessage<MobileDeviceConstant>): MobileDeviceConstant;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MobileDeviceConstant): MobileDeviceConstant;
internalBinaryWrite(message: MobileDeviceConstant, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.MobileDeviceConstant
*/
export declare const MobileDeviceConstant: MobileDeviceConstant$Type;
export {};