list_audiences_taxonomy

Audiences.list_audiences_taxonomy(**kwargs) → ApiResponse

Returns a list of audience categories for a given category path

Requires one of these permissions: [“advertiser_campaign_edit”,”advertiser_campaign_view”]

Kwargs:

advertiserId: string (query) The advertiser associated with the advertising account. This parameter is required for the DSP adType, but optional for the SD adType.

nextToken: string (query) Token from a previous request. Use in conjunction with the maxResults parameter to control pagination of the returned array.

maxResults: integer (query) Sets the maximum number of categories in the returned array. Use in conjunction with the nextToken parameter to control pagination. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned. Default value : 250

body: dict or str (data) REQUIRED

{
    "adType": "DSP",
    "categoryPath": [
        "string"
    ]
}

Returns ApiResponse