dfareporting.directory Sites.list
GET {{baseUrl}}/userprofiles/:profileId/directorySites?acceptsInStreamVideoPlacements=<boolean>&acceptsInterstitialPlacements=<boolean>&acceptsPublisherPaidPlacements=<boolean>&active=<boolean>&dfpNetworkCode=<string>&ids=<string>&ids=<string>&maxResults=<integer>&pageToken=<string>&searchString=<string>&sortField=<string>&sortOrder=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>"aUser=<string>&upload_protocol=<string>&uploadType=<string>
Retrieves a list of directory sites, possibly filtered. This method supports paging.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
acceptsInStreamVideoPlacements | string | This search filter is no longer supported and will have no effect on the results returned. | |
acceptsInterstitialPlacements | string | This search filter is no longer supported and will have no effect on the results returned. | |
acceptsPublisherPaidPlacements | string | Select only directory sites that accept publisher paid placements. This field can be left blank. | |
active | string | Select only active directory sites. Leave blank to retrieve both active and inactive directory sites. | |
dfpNetworkCode | string | Select only directory sites with this Ad Manager network code. | |
ids | string | Select only directory sites with these IDs. | |
ids | string | Select only directory sites with these IDs. | |
maxResults | string | Maximum number of results to return. | |
pageToken | string | Value of the nextPageToken from the previous result page. | |
searchString | string | Allows searching for objects by name, ID or URL. Wildcards () are allowed. For example, "directory site2015" will return objects with names like "directory site June 2015", "directory site April 2015", or simply "directory 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 "directory site" will match objects with name "my directory site", "directory site 2015" or simply, "directory site". | |
sortField | string | Field by which to sort the list. | |
sortOrder | string | Order of sorted results. | |
$.xgafv | string | V1 error format. | |
access_token | string | OAuth access token. | |
alt | string | Data format for response. | |
callback | string | JSONP | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
upload_protocol | string | Upload protocol for media (e.g. "raw", "multipart"). | |
uploadType | string | Legacy upload protocol for media (e.g. "media", "multipart"). |
RESPONSES
status: OK
{"directorySites":[{"id":"incididunt nostrud fugiat","idDimensionValue":{"dimensionName":"id ullamco","etag":"fugiat ex laborum dolor laboris","id":"aliquip","kind":"e","matchType":"EXACT","value":"ea Excepteur quis sed voluptate"},"inpageTagFormats":["STANDARD","INTERNAL_REDIRECT_INPAGE"],"interstitialTagFormats":["JAVASCRIPT_INTERSTITIAL","IFRAME_JAVASCRIPT_INTERSTITIAL"],"kind":"labore Duis","name":"dolore irure dolore aliquip","settings":{"activeViewOptOut":true,"dfpSettings":{"dfpNetworkCode":"id pariatur","dfpNetworkName":"ea esse","programmaticPlacementAccepted":true,"pubPaidPlacementAccepted":false,"publisherPortalOnly":false},"instreamVideoPlacementAccepted":false,"interstitialPlacementAccepted":false},"url":"quis et culpa"},{"id":"elit nulla labore","idDimensionValue":{"dimensionName":"eiusmod irure","etag":"sed laboris","id":"adipisicing","kind":"deserunt veniam","matchType":"WILDCARD_EXPRESSION","value":"laborum non dolore Ut"},"inpageTagFormats":["IFRAME_JAVASCRIPT_INPAGE","STANDARD"],"interstitialTagFormats":["JAVASCRIPT_INTERSTITIAL","INTERNAL_REDIRECT_INTERSTITIAL"],"kind":"mollit fugiat est Lorem nulla","name":"minim veniam","settings":{"activeViewOptOut":true,"dfpSettings":{"dfpNetworkCode":"veniam qui","dfpNetworkName":"nostr","programmaticPlacementAccepted":false,"pubPaidPlacementAccepted":true,"publisherPortalOnly":true},"instreamVideoPlacementAccepted":true,"interstitialPlacementAccepted":true},"url":"Duis ad deserunt magna"}],"kind":"in laboris","nextPageToken":"Lorem in"}