v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13217260568.5 KB
targetingTemplates

Retrieves a list of targeting templates, optionally filtered. This method supports paging.

get/userprofiles/{+profileId}/targetingTemplates

Path parameters

profileIdstring required

User profile ID associated with this request.

Query parameters

advertiserIdstring

Select only targeting templates with this advertiser ID.

idsstring[]

Select only targeting templates with these IDs.

maxResultsinteger

Maximum number of results to return.

pageTokenstring

Value of the nextPageToken from the previous result page.

searchStringstring

Allows searching for objects by name or ID. Wildcards () are allowed. For example, "template2015" will return objects with names like "template June 2015", "template April 2015", or simply "template 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "template" will match objects with name "my template", "template 2015", or simply "template".

sortField'ID' | 'NAME'

Field by which to sort the list.

sortOrder'ASCENDING' | 'DESCENDING'

Order of sorted results.

Response

Successful response