google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
67 lines (66 loc) • 2.69 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 { CriterionCategoryAvailability } from "../common/criterion_category_availability";
/**
* A detailed demographic: a particular interest-based vertical to be targeted
* to reach users based on long-term life facts.
*
* @generated from protobuf message google.ads.googleads.v11.resources.DetailedDemographic
*/
export interface DetailedDemographic {
/**
* Output only. The resource name of the detailed demographic.
* Detailed demographic resource names have the form:
*
* `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the detailed demographic.
*
* @generated from protobuf field: int64 id = 2;
*/
id: bigint;
/**
* Output only. The name of the detailed demographic. For example,"Highest Level of
* Educational Attainment"
*
* @generated from protobuf field: string name = 3;
*/
name: string;
/**
* Output only. The parent of the detailed_demographic.
*
* @generated from protobuf field: string parent = 4;
*/
parent: string;
/**
* Output only. True if the detailed demographic is launched to all channels and locales.
*
* @generated from protobuf field: bool launched_to_all = 5;
*/
launchedToAll: boolean;
/**
* Output only. Availability information of the detailed demographic.
*
* @generated from protobuf field: repeated google.ads.googleads.v11.common.CriterionCategoryAvailability availabilities = 6;
*/
availabilities: CriterionCategoryAvailability[];
}
declare class DetailedDemographic$Type extends MessageType<DetailedDemographic> {
constructor();
create(value?: PartialMessage<DetailedDemographic>): DetailedDemographic;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DetailedDemographic): DetailedDemographic;
internalBinaryWrite(message: DetailedDemographic, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.DetailedDemographic
*/
export declare const DetailedDemographic: DetailedDemographic$Type;
export {};