1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="dfareporting_v2_8.html">DCM/DFA Reporting And Trafficking API</a> . <a href="dfareporting_v2_8.sites.html">sites</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#get">get(profileId, id)</a></code></p> 79<p class="firstline">Gets one site by ID.</p> 80<p class="toc_element"> 81 <code><a href="#insert">insert(profileId, body)</a></code></p> 82<p class="firstline">Inserts a new site.</p> 83<p class="toc_element"> 84 <code><a href="#list">list(profileId, unmappedSite=None, campaignIds=None, acceptsInStreamVideoPlacements=None, pageToken=None, acceptsPublisherPaidPlacements=None, sortOrder=None, acceptsInterstitialPlacements=None, maxResults=None, adWordsSite=None, approved=None, searchString=None, subaccountId=None, directorySiteIds=None, sortField=None, ids=None)</a></code></p> 85<p class="firstline">Retrieves a list of sites, possibly filtered. This method supports paging.</p> 86<p class="toc_element"> 87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 88<p class="firstline">Retrieves the next page of results.</p> 89<p class="toc_element"> 90 <code><a href="#patch">patch(profileId, id, body)</a></code></p> 91<p class="firstline">Updates an existing site. This method supports patch semantics.</p> 92<p class="toc_element"> 93 <code><a href="#update">update(profileId, body)</a></code></p> 94<p class="firstline">Updates an existing site.</p> 95<h3>Method Details</h3> 96<div class="method"> 97 <code class="details" id="get">get(profileId, id)</code> 98 <pre>Gets one site by ID. 99 100Args: 101 profileId: string, User profile ID associated with this request. (required) 102 id: string, Site ID. (required) 103 104Returns: 105 An object of the form: 106 107 { # Contains properties of a site. 108 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 109 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 110 "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. 111 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 112 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 113 "value": "A String", # The value of the dimension. 114 "dimensionName": "A String", # The name of the dimension. 115 "etag": "A String", # The eTag of this response for caching purposes. 116 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 117 "id": "A String", # The ID associated with the value if available. 118 }, 119 "siteSettings": { # Site Settings # Site-wide settings. 120 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 121 "videoActiveViewOptOutTemplate": True or False, # Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. 122 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 123 "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 124 "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 125 }, 126 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 127 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 128 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 129 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 130 "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. 131 "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. 132 }, 133 "vpaidAdapterChoiceTemplate": "A String", # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter). 134 "adBlockingOptOut": True or False, # Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. 135 "creativeSettings": { # Creative Settings # Site-wide creative settings. 136 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 137 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 138 }, 139 }, 140 "approved": True or False, # Whether this site is approved. 141 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 142 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 143 "value": "A String", # The value of the dimension. 144 "dimensionName": "A String", # The name of the dimension. 145 "etag": "A String", # The eTag of this response for caching purposes. 146 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 147 "id": "A String", # The ID associated with the value if available. 148 }, 149 "siteContacts": [ # Site contacts. 150 { # Site Contact 151 "firstName": "A String", # First name of this site contact. 152 "title": "A String", # Title or designation of this site contact. 153 "lastName": "A String", # Last name of this site contact. 154 "address": "A String", # Address of this site contact. 155 "email": "A String", # Email address of this site contact. This is a required field. 156 "phone": "A String", # Primary phone number of this site contact. 157 "contactType": "A String", # Site contact type. 158 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 159 }, 160 ], 161 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 162 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 163 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 164 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 165 }</pre> 166</div> 167 168<div class="method"> 169 <code class="details" id="insert">insert(profileId, body)</code> 170 <pre>Inserts a new site. 171 172Args: 173 profileId: string, User profile ID associated with this request. (required) 174 body: object, The request body. (required) 175 The object takes the form of: 176 177{ # Contains properties of a site. 178 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 179 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 180 "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. 181 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 182 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 183 "value": "A String", # The value of the dimension. 184 "dimensionName": "A String", # The name of the dimension. 185 "etag": "A String", # The eTag of this response for caching purposes. 186 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 187 "id": "A String", # The ID associated with the value if available. 188 }, 189 "siteSettings": { # Site Settings # Site-wide settings. 190 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 191 "videoActiveViewOptOutTemplate": True or False, # Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. 192 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 193 "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 194 "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 195 }, 196 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 197 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 198 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 199 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 200 "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. 201 "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. 202 }, 203 "vpaidAdapterChoiceTemplate": "A String", # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter). 204 "adBlockingOptOut": True or False, # Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. 205 "creativeSettings": { # Creative Settings # Site-wide creative settings. 206 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 207 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 208 }, 209 }, 210 "approved": True or False, # Whether this site is approved. 211 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 212 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 213 "value": "A String", # The value of the dimension. 214 "dimensionName": "A String", # The name of the dimension. 215 "etag": "A String", # The eTag of this response for caching purposes. 216 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 217 "id": "A String", # The ID associated with the value if available. 218 }, 219 "siteContacts": [ # Site contacts. 220 { # Site Contact 221 "firstName": "A String", # First name of this site contact. 222 "title": "A String", # Title or designation of this site contact. 223 "lastName": "A String", # Last name of this site contact. 224 "address": "A String", # Address of this site contact. 225 "email": "A String", # Email address of this site contact. This is a required field. 226 "phone": "A String", # Primary phone number of this site contact. 227 "contactType": "A String", # Site contact type. 228 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 229 }, 230 ], 231 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 232 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 233 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 234 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 235 } 236 237 238Returns: 239 An object of the form: 240 241 { # Contains properties of a site. 242 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 243 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 244 "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. 245 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 246 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 247 "value": "A String", # The value of the dimension. 248 "dimensionName": "A String", # The name of the dimension. 249 "etag": "A String", # The eTag of this response for caching purposes. 250 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 251 "id": "A String", # The ID associated with the value if available. 252 }, 253 "siteSettings": { # Site Settings # Site-wide settings. 254 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 255 "videoActiveViewOptOutTemplate": True or False, # Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. 256 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 257 "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 258 "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 259 }, 260 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 261 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 262 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 263 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 264 "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. 265 "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. 266 }, 267 "vpaidAdapterChoiceTemplate": "A String", # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter). 268 "adBlockingOptOut": True or False, # Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. 269 "creativeSettings": { # Creative Settings # Site-wide creative settings. 270 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 271 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 272 }, 273 }, 274 "approved": True or False, # Whether this site is approved. 275 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 276 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 277 "value": "A String", # The value of the dimension. 278 "dimensionName": "A String", # The name of the dimension. 279 "etag": "A String", # The eTag of this response for caching purposes. 280 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 281 "id": "A String", # The ID associated with the value if available. 282 }, 283 "siteContacts": [ # Site contacts. 284 { # Site Contact 285 "firstName": "A String", # First name of this site contact. 286 "title": "A String", # Title or designation of this site contact. 287 "lastName": "A String", # Last name of this site contact. 288 "address": "A String", # Address of this site contact. 289 "email": "A String", # Email address of this site contact. This is a required field. 290 "phone": "A String", # Primary phone number of this site contact. 291 "contactType": "A String", # Site contact type. 292 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 293 }, 294 ], 295 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 296 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 297 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 298 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 299 }</pre> 300</div> 301 302<div class="method"> 303 <code class="details" id="list">list(profileId, unmappedSite=None, campaignIds=None, acceptsInStreamVideoPlacements=None, pageToken=None, acceptsPublisherPaidPlacements=None, sortOrder=None, acceptsInterstitialPlacements=None, maxResults=None, adWordsSite=None, approved=None, searchString=None, subaccountId=None, directorySiteIds=None, sortField=None, ids=None)</code> 304 <pre>Retrieves a list of sites, possibly filtered. This method supports paging. 305 306Args: 307 profileId: string, User profile ID associated with this request. (required) 308 unmappedSite: boolean, Select only sites that have not been mapped to a directory site. 309 campaignIds: string, Select only sites with these campaign IDs. (repeated) 310 acceptsInStreamVideoPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned. 311 pageToken: string, Value of the nextPageToken from the previous result page. 312 acceptsPublisherPaidPlacements: boolean, Select only sites that accept publisher paid placements. 313 sortOrder: string, Order of sorted results. 314 Allowed values 315 ASCENDING - 316 DESCENDING - 317 acceptsInterstitialPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned. 318 maxResults: integer, Maximum number of results to return. 319 adWordsSite: boolean, Select only AdWords sites. 320 approved: boolean, Select only approved sites. 321 searchString: string, Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" 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". 322 subaccountId: string, Select only sites with this subaccount ID. 323 directorySiteIds: string, Select only sites with these directory site IDs. (repeated) 324 sortField: string, Field by which to sort the list. 325 Allowed values 326 ID - 327 NAME - 328 ids: string, Select only sites with these IDs. (repeated) 329 330Returns: 331 An object of the form: 332 333 { # Site List Response 334 "nextPageToken": "A String", # Pagination token to be used for the next list operation. 335 "kind": "dfareporting#sitesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#sitesListResponse". 336 "sites": [ # Site collection. 337 { # Contains properties of a site. 338 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 339 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 340 "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. 341 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 342 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 343 "value": "A String", # The value of the dimension. 344 "dimensionName": "A String", # The name of the dimension. 345 "etag": "A String", # The eTag of this response for caching purposes. 346 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 347 "id": "A String", # The ID associated with the value if available. 348 }, 349 "siteSettings": { # Site Settings # Site-wide settings. 350 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 351 "videoActiveViewOptOutTemplate": True or False, # Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. 352 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 353 "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 354 "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 355 }, 356 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 357 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 358 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 359 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 360 "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. 361 "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. 362 }, 363 "vpaidAdapterChoiceTemplate": "A String", # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter). 364 "adBlockingOptOut": True or False, # Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. 365 "creativeSettings": { # Creative Settings # Site-wide creative settings. 366 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 367 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 368 }, 369 }, 370 "approved": True or False, # Whether this site is approved. 371 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 372 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 373 "value": "A String", # The value of the dimension. 374 "dimensionName": "A String", # The name of the dimension. 375 "etag": "A String", # The eTag of this response for caching purposes. 376 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 377 "id": "A String", # The ID associated with the value if available. 378 }, 379 "siteContacts": [ # Site contacts. 380 { # Site Contact 381 "firstName": "A String", # First name of this site contact. 382 "title": "A String", # Title or designation of this site contact. 383 "lastName": "A String", # Last name of this site contact. 384 "address": "A String", # Address of this site contact. 385 "email": "A String", # Email address of this site contact. This is a required field. 386 "phone": "A String", # Primary phone number of this site contact. 387 "contactType": "A String", # Site contact type. 388 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 389 }, 390 ], 391 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 392 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 393 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 394 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 395 }, 396 ], 397 }</pre> 398</div> 399 400<div class="method"> 401 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 402 <pre>Retrieves the next page of results. 403 404Args: 405 previous_request: The request for the previous page. (required) 406 previous_response: The response from the request for the previous page. (required) 407 408Returns: 409 A request object that you can call 'execute()' on to request the next 410 page. Returns None if there are no more items in the collection. 411 </pre> 412</div> 413 414<div class="method"> 415 <code class="details" id="patch">patch(profileId, id, body)</code> 416 <pre>Updates an existing site. This method supports patch semantics. 417 418Args: 419 profileId: string, User profile ID associated with this request. (required) 420 id: string, Site ID. (required) 421 body: object, The request body. (required) 422 The object takes the form of: 423 424{ # Contains properties of a site. 425 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 426 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 427 "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. 428 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 429 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 430 "value": "A String", # The value of the dimension. 431 "dimensionName": "A String", # The name of the dimension. 432 "etag": "A String", # The eTag of this response for caching purposes. 433 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 434 "id": "A String", # The ID associated with the value if available. 435 }, 436 "siteSettings": { # Site Settings # Site-wide settings. 437 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 438 "videoActiveViewOptOutTemplate": True or False, # Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. 439 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 440 "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 441 "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 442 }, 443 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 444 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 445 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 446 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 447 "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. 448 "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. 449 }, 450 "vpaidAdapterChoiceTemplate": "A String", # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter). 451 "adBlockingOptOut": True or False, # Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. 452 "creativeSettings": { # Creative Settings # Site-wide creative settings. 453 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 454 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 455 }, 456 }, 457 "approved": True or False, # Whether this site is approved. 458 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 459 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 460 "value": "A String", # The value of the dimension. 461 "dimensionName": "A String", # The name of the dimension. 462 "etag": "A String", # The eTag of this response for caching purposes. 463 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 464 "id": "A String", # The ID associated with the value if available. 465 }, 466 "siteContacts": [ # Site contacts. 467 { # Site Contact 468 "firstName": "A String", # First name of this site contact. 469 "title": "A String", # Title or designation of this site contact. 470 "lastName": "A String", # Last name of this site contact. 471 "address": "A String", # Address of this site contact. 472 "email": "A String", # Email address of this site contact. This is a required field. 473 "phone": "A String", # Primary phone number of this site contact. 474 "contactType": "A String", # Site contact type. 475 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 476 }, 477 ], 478 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 479 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 480 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 481 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 482 } 483 484 485Returns: 486 An object of the form: 487 488 { # Contains properties of a site. 489 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 490 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 491 "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. 492 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 493 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 494 "value": "A String", # The value of the dimension. 495 "dimensionName": "A String", # The name of the dimension. 496 "etag": "A String", # The eTag of this response for caching purposes. 497 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 498 "id": "A String", # The ID associated with the value if available. 499 }, 500 "siteSettings": { # Site Settings # Site-wide settings. 501 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 502 "videoActiveViewOptOutTemplate": True or False, # Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. 503 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 504 "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 505 "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 506 }, 507 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 508 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 509 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 510 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 511 "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. 512 "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. 513 }, 514 "vpaidAdapterChoiceTemplate": "A String", # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter). 515 "adBlockingOptOut": True or False, # Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. 516 "creativeSettings": { # Creative Settings # Site-wide creative settings. 517 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 518 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 519 }, 520 }, 521 "approved": True or False, # Whether this site is approved. 522 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 523 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 524 "value": "A String", # The value of the dimension. 525 "dimensionName": "A String", # The name of the dimension. 526 "etag": "A String", # The eTag of this response for caching purposes. 527 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 528 "id": "A String", # The ID associated with the value if available. 529 }, 530 "siteContacts": [ # Site contacts. 531 { # Site Contact 532 "firstName": "A String", # First name of this site contact. 533 "title": "A String", # Title or designation of this site contact. 534 "lastName": "A String", # Last name of this site contact. 535 "address": "A String", # Address of this site contact. 536 "email": "A String", # Email address of this site contact. This is a required field. 537 "phone": "A String", # Primary phone number of this site contact. 538 "contactType": "A String", # Site contact type. 539 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 540 }, 541 ], 542 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 543 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 544 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 545 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 546 }</pre> 547</div> 548 549<div class="method"> 550 <code class="details" id="update">update(profileId, body)</code> 551 <pre>Updates an existing site. 552 553Args: 554 profileId: string, User profile ID associated with this request. (required) 555 body: object, The request body. (required) 556 The object takes the form of: 557 558{ # Contains properties of a site. 559 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 560 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 561 "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. 562 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 563 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 564 "value": "A String", # The value of the dimension. 565 "dimensionName": "A String", # The name of the dimension. 566 "etag": "A String", # The eTag of this response for caching purposes. 567 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 568 "id": "A String", # The ID associated with the value if available. 569 }, 570 "siteSettings": { # Site Settings # Site-wide settings. 571 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 572 "videoActiveViewOptOutTemplate": True or False, # Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. 573 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 574 "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 575 "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 576 }, 577 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 578 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 579 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 580 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 581 "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. 582 "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. 583 }, 584 "vpaidAdapterChoiceTemplate": "A String", # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter). 585 "adBlockingOptOut": True or False, # Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. 586 "creativeSettings": { # Creative Settings # Site-wide creative settings. 587 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 588 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 589 }, 590 }, 591 "approved": True or False, # Whether this site is approved. 592 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 593 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 594 "value": "A String", # The value of the dimension. 595 "dimensionName": "A String", # The name of the dimension. 596 "etag": "A String", # The eTag of this response for caching purposes. 597 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 598 "id": "A String", # The ID associated with the value if available. 599 }, 600 "siteContacts": [ # Site contacts. 601 { # Site Contact 602 "firstName": "A String", # First name of this site contact. 603 "title": "A String", # Title or designation of this site contact. 604 "lastName": "A String", # Last name of this site contact. 605 "address": "A String", # Address of this site contact. 606 "email": "A String", # Email address of this site contact. This is a required field. 607 "phone": "A String", # Primary phone number of this site contact. 608 "contactType": "A String", # Site contact type. 609 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 610 }, 611 ], 612 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 613 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 614 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 615 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 616 } 617 618 619Returns: 620 An object of the form: 621 622 { # Contains properties of a site. 623 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 624 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 625 "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. 626 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 627 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 628 "value": "A String", # The value of the dimension. 629 "dimensionName": "A String", # The name of the dimension. 630 "etag": "A String", # The eTag of this response for caching purposes. 631 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 632 "id": "A String", # The ID associated with the value if available. 633 }, 634 "siteSettings": { # Site Settings # Site-wide settings. 635 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 636 "videoActiveViewOptOutTemplate": True or False, # Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. 637 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 638 "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 639 "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. 640 }, 641 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 642 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 643 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 644 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 645 "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. 646 "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. 647 }, 648 "vpaidAdapterChoiceTemplate": "A String", # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter). 649 "adBlockingOptOut": True or False, # Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. 650 "creativeSettings": { # Creative Settings # Site-wide creative settings. 651 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 652 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 653 }, 654 }, 655 "approved": True or False, # Whether this site is approved. 656 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 657 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 658 "value": "A String", # The value of the dimension. 659 "dimensionName": "A String", # The name of the dimension. 660 "etag": "A String", # The eTag of this response for caching purposes. 661 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 662 "id": "A String", # The ID associated with the value if available. 663 }, 664 "siteContacts": [ # Site contacts. 665 { # Site Contact 666 "firstName": "A String", # First name of this site contact. 667 "title": "A String", # Title or designation of this site contact. 668 "lastName": "A String", # Last name of this site contact. 669 "address": "A String", # Address of this site contact. 670 "email": "A String", # Email address of this site contact. This is a required field. 671 "phone": "A String", # Primary phone number of this site contact. 672 "contactType": "A String", # Site contact type. 673 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 674 }, 675 ], 676 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 677 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 678 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 679 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 680 }</pre> 681</div> 682 683</body></html>