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>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

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

Request Params

KeyDatatypeRequiredDescription
acceptsInStreamVideoPlacementsstringThis search filter is no longer supported and will have no effect on the results returned.
acceptsInterstitialPlacementsstringThis search filter is no longer supported and will have no effect on the results returned.
acceptsPublisherPaidPlacementsstringSelect only directory sites that accept publisher paid placements. This field can be left blank.
activestringSelect only active directory sites. Leave blank to retrieve both active and inactive directory sites.
dfpNetworkCodestringSelect only directory sites with this Ad Manager network code.
idsstringSelect only directory sites with these IDs.
idsstringSelect only directory sites with these IDs.
maxResultsstringMaximum number of results to return.
pageTokenstringValue of the nextPageToken from the previous result page.
searchStringstringAllows 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".
sortFieldstringField by which to sort the list.
sortOrderstringOrder of sorted results.
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI 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_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable 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_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy upload protocol for media (e.g. "media", "multipart").

RESPONSES

status: OK

{&quot;directorySites&quot;:[{&quot;id&quot;:&quot;incididunt nostrud fugiat&quot;,&quot;idDimensionValue&quot;:{&quot;dimensionName&quot;:&quot;id ullamco&quot;,&quot;etag&quot;:&quot;fugiat ex laborum dolor laboris&quot;,&quot;id&quot;:&quot;aliquip&quot;,&quot;kind&quot;:&quot;e&quot;,&quot;matchType&quot;:&quot;EXACT&quot;,&quot;value&quot;:&quot;ea Excepteur quis sed voluptate&quot;},&quot;inpageTagFormats&quot;:[&quot;STANDARD&quot;,&quot;INTERNAL_REDIRECT_INPAGE&quot;],&quot;interstitialTagFormats&quot;:[&quot;JAVASCRIPT_INTERSTITIAL&quot;,&quot;IFRAME_JAVASCRIPT_INTERSTITIAL&quot;],&quot;kind&quot;:&quot;labore Duis&quot;,&quot;name&quot;:&quot;dolore irure dolore aliquip&quot;,&quot;settings&quot;:{&quot;activeViewOptOut&quot;:true,&quot;dfpSettings&quot;:{&quot;dfpNetworkCode&quot;:&quot;id pariatur&quot;,&quot;dfpNetworkName&quot;:&quot;ea esse&quot;,&quot;programmaticPlacementAccepted&quot;:true,&quot;pubPaidPlacementAccepted&quot;:false,&quot;publisherPortalOnly&quot;:false},&quot;instreamVideoPlacementAccepted&quot;:false,&quot;interstitialPlacementAccepted&quot;:false},&quot;url&quot;:&quot;quis et culpa&quot;},{&quot;id&quot;:&quot;elit nulla labore&quot;,&quot;idDimensionValue&quot;:{&quot;dimensionName&quot;:&quot;eiusmod irure&quot;,&quot;etag&quot;:&quot;sed laboris&quot;,&quot;id&quot;:&quot;adipisicing&quot;,&quot;kind&quot;:&quot;deserunt veniam&quot;,&quot;matchType&quot;:&quot;WILDCARD_EXPRESSION&quot;,&quot;value&quot;:&quot;laborum non dolore Ut&quot;},&quot;inpageTagFormats&quot;:[&quot;IFRAME_JAVASCRIPT_INPAGE&quot;,&quot;STANDARD&quot;],&quot;interstitialTagFormats&quot;:[&quot;JAVASCRIPT_INTERSTITIAL&quot;,&quot;INTERNAL_REDIRECT_INTERSTITIAL&quot;],&quot;kind&quot;:&quot;mollit fugiat est Lorem nulla&quot;,&quot;name&quot;:&quot;minim veniam&quot;,&quot;settings&quot;:{&quot;activeViewOptOut&quot;:true,&quot;dfpSettings&quot;:{&quot;dfpNetworkCode&quot;:&quot;veniam qui&quot;,&quot;dfpNetworkName&quot;:&quot;nostr&quot;,&quot;programmaticPlacementAccepted&quot;:false,&quot;pubPaidPlacementAccepted&quot;:true,&quot;publisherPortalOnly&quot;:true},&quot;instreamVideoPlacementAccepted&quot;:true,&quot;interstitialPlacementAccepted&quot;:true},&quot;url&quot;:&quot;Duis ad deserunt magna&quot;}],&quot;kind&quot;:&quot;in laboris&quot;,&quot;nextPageToken&quot;:&quot;Lorem in&quot;}