- 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 ( |
id
string ( int64
format)
ID of this directory site. This is a read-only, auto-generated field.
name
string
Name of this directory site.
url
string
URL of this directory site.
kind
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#directorySite"
.
settings
object (
DirectorySiteSettings
)
Directory site settings.
inpageTagFormats[]
enum (
InpageTagFormat
)
Tag types for regular placements.
Acceptable values are:
- "
STANDARD
"
- "
IFRAME_JAVASCRIPT_INPAGE
"
- "
INTERNAL_REDIRECT_INPAGE
"
- "
JAVASCRIPT_INPAGE
"
interstitialTagFormats[]
enum (
InterstitialTagFormat
)
Tag types for interstitial placements.
Acceptable values are:
- "
IFRAME_JAVASCRIPT_INTERSTITIAL
"
- "
INTERNAL_REDIRECT_INTERSTITIAL
"
- "
JAVASCRIPT_INTERSTITIAL
"
idDimensionValue
object (
DimensionValue
)
Dimension value for the ID of this directory site. This is a read-only, auto-generated field.
DirectorySiteSettings
Directory Site Settings
JSON representation |
---|
{
"interstitialPlacementAccepted"
:
boolean
,
"instreamVideoPlacementAccepted"
:
boolean
,
"dfpSettings"
:
{
object (
|
Fields | |
---|---|
interstitialPlacementAccepted
|
Whether this site accepts interstitial ads. |
instreamVideoPlacementAccepted
|
Whether this site accepts in-stream video ads. |
dfpSettings
|
Directory site Ad Manager settings. |
activeViewOptOut
|
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 | |
---|---|
dfpNetworkCode
|
Ad Manager network code for this directory site. |
dfpNetworkName
|
Ad Manager network name for this directory site. |
pubPaidPlacementAccepted
|
Whether this directory site accepts publisher-paid tags. |
publisherPortalOnly
|
Whether this directory site is available only via Publisher Portal. |
programmaticPlacementAccepted
|
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. |