- Resource: DirectorySite
- DirectorySiteSettings
- DfpSettings
- InpageTagFormat
- InterstitialTagFormat
- Methods
Resource: DirectorySite
DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.
JSON representation |
---|
{ "id": string, "name": string, "url": string, "kind": string, "settings": { object ( |
Fields | |
---|---|
id |
ID of this directory site. This is a read-only, auto-generated field. |
name |
Name of this directory site. |
url |
URL of this directory site. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
settings |
Directory site settings. |
inpage |
Tag types for regular placements.
|
interstitial |
Tag types for interstitial placements.
|
id |
Dimension value for the ID of this directory site. This is a read-only, auto-generated field. |
publisher |
Output only. Default publisher specification ID of video placements under this directory site. Possible values are:
|
DirectorySiteSettings
Directory Site Settings
JSON representation |
---|
{
"interstitialPlacementAccepted": boolean,
"instreamVideoPlacementAccepted": boolean,
"dfpSettings": {
object ( |
Fields | |
---|---|
interstitial |
Whether this site accepts interstitial ads. |
instream |
Whether this site accepts in-stream video ads. |
dfp |
Directory site Ad Manager settings. |
active |
Whether this directory site has disabled active view creatives. |
DfpSettings
Google Ad Manager Settings
JSON representation |
---|
{ "dfpNetworkCode": string, "dfpNetworkName": string, "pubPaidPlacementAccepted": boolean, "publisherPortalOnly": boolean, "programmaticPlacementAccepted": boolean } |
Fields | |
---|---|
dfp |
Ad Manager network code for this directory site. |
dfp |
Ad Manager network name for this directory site. |
pub |
Whether this directory site accepts publisher-paid tags. |
publisher |
Whether this directory site is available only via Publisher Portal. |
programmatic |
Whether this directory site accepts programmatic placements. |
InpageTagFormat
Enums | |
---|---|
STANDARD |
|
IFRAME_JAVASCRIPT_INPAGE |
|
INTERNAL_REDIRECT_INPAGE |
|
JAVASCRIPT_INPAGE |
InterstitialTagFormat
Enums | |
---|---|
IFRAME_JAVASCRIPT_INTERSTITIAL |
|
INTERNAL_REDIRECT_INTERSTITIAL |
|
JAVASCRIPT_INTERSTITIAL |
Methods |
|
---|---|
|
Gets one directory site by ID. |
|
Inserts a new directory site. |
|
Retrieves a list of directory sites, possibly filtered. |