v1

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

Retrieves a list of sites, possibly filtered. This method supports paging.

get/userprofiles/{+profileId}/sites

Path parameters

profileIdstring required

User profile ID associated with this request.

Query parameters

acceptsInStreamVideoPlacementsboolean

This search filter is no longer supported and will have no effect on the results returned.

acceptsInterstitialPlacementsboolean

This search filter is no longer supported and will have no effect on the results returned.

acceptsPublisherPaidPlacementsboolean

Select only sites that accept publisher paid placements.

adWordsSiteboolean

Select only AdWords sites.

approvedboolean

Select only approved sites.

campaignIdsstring[]

Select only sites with these campaign IDs.

directorySiteIdsstring[]

Select only sites with these directory site IDs.

idsstring[]

Select only sites 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, ID or keyName. Wildcards () are allowed. For example, "site2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 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 "site" will match objects with name "my site", "site 2015", or simply "site".

sortField'ID' | 'NAME'

Field by which to sort the list.

sortOrder'ASCENDING' | 'DESCENDING'

Order of sorted results.

subaccountIdstring

Select only sites with this subaccount ID.

unmappedSiteboolean

Select only sites that have not been mapped to a directory site.

Response

Successful response