import type * as Whop from "../../../../index.mjs"; /** * @example * { * platform: "meta" * } */ export interface SearchTargetingOptionsAdGroupsRequest { /** Account to search on behalf of. Defaults to the authenticated account. */ account_id?: string; /** The ad network whose targeting taxonomy to search. */ platform: Whop.SearchTargetingOptionsAdGroupsRequestPlatform; /** The search term. Blank browses the small fixed lists (behaviors, browse demographic categories, and languages); interests, work employers, job titles, schools, majors, and locations return nothing without one. */ query?: string; /** Kinds of targeting options to search. Defaults to all of them. */ types?: Whop.SearchTargetingOptionsAdGroupsRequestTypesItem | Whop.SearchTargetingOptionsAdGroupsRequestTypesItem[]; /** Narrow location results to these kinds of places. Only applies when `types` includes `locations`. */ location_types?: Whop.SearchTargetingOptionsAdGroupsRequestLocationTypesItem | Whop.SearchTargetingOptionsAdGroupsRequestLocationTypesItem[]; /** Narrow location results to one country, as an ISO 3166-1 code such as `US`. Only applies when `types` includes `locations`. */ country?: string; /** Maximum number of results per requested type. */ limit?: number; /** The campaign's declared special ad categories. Under `housing`, `employment`, or `financial_products` the ad platform allows interests only, drawn from a short approved list, so results are narrowed to what such a campaign can launch with and other kinds return nothing. Blank `query` browses that approved list instead of the usual fixed lists. */ special_ad_categories?: Whop.SearchTargetingOptionsAdGroupsRequestSpecialAdCategoriesItem | Whop.SearchTargetingOptionsAdGroupsRequestSpecialAdCategoriesItem[]; }