/** * Interest, behavior, and demographic targeting, using categories from the ad platform's targeting taxonomy. Entries across interests, behaviors, and demographics are OR'd together (anyone matching any entry is reached), matching Ads Manager's detailed-targeting box. At most 100 entries per section. Can't be combined with demographics.automatic, and unavailable to campaigns with special_ad_categories. */ export interface AdGroupDetailedTargetingBody { /** Behavior categories to target, such as frequent travelers. */ behaviors?: AdGroupDetailedTargetingBody.Behaviors.Item[] | undefined; /** Demographic categories to target, such as life events, industries, work employers, job titles, schools, or majors. */ demographics?: AdGroupDetailedTargetingBody.Demographics.Item[] | undefined; /** Interest categories to target, such as an interest in movies. */ interests?: AdGroupDetailedTargetingBody.Interests.Item[] | undefined; } export declare namespace AdGroupDetailedTargetingBody { type Behaviors = Behaviors.Item[]; namespace Behaviors { interface Item { /** On ad platforms that scope behavior categories, what this one is measured on. Send back the value the targeting_options endpoint returned alongside the id. */ behavior_type?: Item.BehaviorType | undefined; /** The ad platform's ID for the category in its targeting taxonomy. */ id: string; /** Category name, such as `Frequent travelers`. */ name?: string | undefined; /** On ad platforms that scope behavior categories, how many days of activity the category covers. */ period?: number | undefined; } namespace Item { /** On ad platforms that scope behavior categories, what this one is measured on. Send back the value the targeting_options endpoint returned alongside the id. */ const BehaviorType: { readonly Video: "video"; readonly Creator: "creator"; readonly Hashtag: "hashtag"; }; type BehaviorType = (typeof BehaviorType)[keyof typeof BehaviorType]; } } type Demographics = Demographics.Item[]; namespace Demographics { interface Item { /** The ad platform's ID for the category in its targeting taxonomy. */ id: string; /** Category name, such as `Recently moved`. */ name?: string | undefined; /** Kind of demographic the category belongs to. */ type: Item.Type; } namespace Item { /** Kind of demographic the category belongs to. */ const Type: { readonly LifeEvents: "life_events"; readonly Industries: "industries"; readonly Income: "income"; readonly FamilyStatuses: "family_statuses"; readonly WorkEmployers: "work_employers"; readonly WorkPositions: "work_positions"; readonly EducationSchools: "education_schools"; readonly EducationMajors: "education_majors"; }; type Type = (typeof Type)[keyof typeof Type]; } } type Interests = Interests.Item[]; namespace Interests { interface Item { /** The ad platform's ID for the category in its targeting taxonomy. */ id: string; /** Category name, such as `Movies`. */ name?: string | undefined; } } }