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_v3_1.html">DCM/DFA Reporting And Trafficking API</a> . <a href="dfareporting_v3_1.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). 134 # 135 # Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. 136 "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. 137 "creativeSettings": { # Creative Settings # Site-wide creative settings. 138 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 139 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 140 }, 141 }, 142 "approved": True or False, # Whether this site is approved. 143 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 144 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 145 "value": "A String", # The value of the dimension. 146 "dimensionName": "A String", # The name of the dimension. 147 "etag": "A String", # The eTag of this response for caching purposes. 148 "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. 149 "id": "A String", # The ID associated with the value if available. 150 }, 151 "siteContacts": [ # Site contacts. 152 { # Site Contact 153 "firstName": "A String", # First name of this site contact. 154 "title": "A String", # Title or designation of this site contact. 155 "lastName": "A String", # Last name of this site contact. 156 "address": "A String", # Address of this site contact. 157 "email": "A String", # Email address of this site contact. This is a required field. 158 "phone": "A String", # Primary phone number of this site contact. 159 "contactType": "A String", # Site contact type. 160 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 161 }, 162 ], 163 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 164 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 165 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 166 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 167 }</pre> 168</div> 169 170<div class="method"> 171 <code class="details" id="insert">insert(profileId, body)</code> 172 <pre>Inserts a new site. 173 174Args: 175 profileId: string, User profile ID associated with this request. (required) 176 body: object, The request body. (required) 177 The object takes the form of: 178 179{ # Contains properties of a site. 180 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 181 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 182 "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. 183 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 184 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 185 "value": "A String", # The value of the dimension. 186 "dimensionName": "A String", # The name of the dimension. 187 "etag": "A String", # The eTag of this response for caching purposes. 188 "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. 189 "id": "A String", # The ID associated with the value if available. 190 }, 191 "siteSettings": { # Site Settings # Site-wide settings. 192 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 193 "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. 194 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 195 "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. 196 "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. 197 }, 198 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 199 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 200 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 201 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 202 "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. 203 "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. 204 }, 205 "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). 206 # 207 # Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. 208 "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. 209 "creativeSettings": { # Creative Settings # Site-wide creative settings. 210 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 211 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 212 }, 213 }, 214 "approved": True or False, # Whether this site is approved. 215 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 216 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 217 "value": "A String", # The value of the dimension. 218 "dimensionName": "A String", # The name of the dimension. 219 "etag": "A String", # The eTag of this response for caching purposes. 220 "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. 221 "id": "A String", # The ID associated with the value if available. 222 }, 223 "siteContacts": [ # Site contacts. 224 { # Site Contact 225 "firstName": "A String", # First name of this site contact. 226 "title": "A String", # Title or designation of this site contact. 227 "lastName": "A String", # Last name of this site contact. 228 "address": "A String", # Address of this site contact. 229 "email": "A String", # Email address of this site contact. This is a required field. 230 "phone": "A String", # Primary phone number of this site contact. 231 "contactType": "A String", # Site contact type. 232 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 233 }, 234 ], 235 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 236 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 237 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 238 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 239 } 240 241 242Returns: 243 An object of the form: 244 245 { # Contains properties of a site. 246 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 247 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 248 "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. 249 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 250 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 251 "value": "A String", # The value of the dimension. 252 "dimensionName": "A String", # The name of the dimension. 253 "etag": "A String", # The eTag of this response for caching purposes. 254 "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. 255 "id": "A String", # The ID associated with the value if available. 256 }, 257 "siteSettings": { # Site Settings # Site-wide settings. 258 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 259 "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. 260 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 261 "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. 262 "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. 263 }, 264 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 265 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 266 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 267 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 268 "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. 269 "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. 270 }, 271 "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). 272 # 273 # Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. 274 "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. 275 "creativeSettings": { # Creative Settings # Site-wide creative settings. 276 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 277 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 278 }, 279 }, 280 "approved": True or False, # Whether this site is approved. 281 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 282 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 283 "value": "A String", # The value of the dimension. 284 "dimensionName": "A String", # The name of the dimension. 285 "etag": "A String", # The eTag of this response for caching purposes. 286 "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. 287 "id": "A String", # The ID associated with the value if available. 288 }, 289 "siteContacts": [ # Site contacts. 290 { # Site Contact 291 "firstName": "A String", # First name of this site contact. 292 "title": "A String", # Title or designation of this site contact. 293 "lastName": "A String", # Last name of this site contact. 294 "address": "A String", # Address of this site contact. 295 "email": "A String", # Email address of this site contact. This is a required field. 296 "phone": "A String", # Primary phone number of this site contact. 297 "contactType": "A String", # Site contact type. 298 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 299 }, 300 ], 301 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 302 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 303 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 304 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 305 }</pre> 306</div> 307 308<div class="method"> 309 <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> 310 <pre>Retrieves a list of sites, possibly filtered. This method supports paging. 311 312Args: 313 profileId: string, User profile ID associated with this request. (required) 314 unmappedSite: boolean, Select only sites that have not been mapped to a directory site. 315 campaignIds: string, Select only sites with these campaign IDs. (repeated) 316 acceptsInStreamVideoPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned. 317 pageToken: string, Value of the nextPageToken from the previous result page. 318 acceptsPublisherPaidPlacements: boolean, Select only sites that accept publisher paid placements. 319 sortOrder: string, Order of sorted results. 320 Allowed values 321 ASCENDING - 322 DESCENDING - 323 acceptsInterstitialPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned. 324 maxResults: integer, Maximum number of results to return. 325 adWordsSite: boolean, Select only AdWords sites. 326 approved: boolean, Select only approved sites. 327 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". 328 subaccountId: string, Select only sites with this subaccount ID. 329 directorySiteIds: string, Select only sites with these directory site IDs. (repeated) 330 sortField: string, Field by which to sort the list. 331 Allowed values 332 ID - 333 NAME - 334 ids: string, Select only sites with these IDs. (repeated) 335 336Returns: 337 An object of the form: 338 339 { # Site List Response 340 "nextPageToken": "A String", # Pagination token to be used for the next list operation. 341 "kind": "dfareporting#sitesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#sitesListResponse". 342 "sites": [ # Site collection. 343 { # Contains properties of a site. 344 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 345 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 346 "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. 347 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 348 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 349 "value": "A String", # The value of the dimension. 350 "dimensionName": "A String", # The name of the dimension. 351 "etag": "A String", # The eTag of this response for caching purposes. 352 "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. 353 "id": "A String", # The ID associated with the value if available. 354 }, 355 "siteSettings": { # Site Settings # Site-wide settings. 356 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 357 "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. 358 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 359 "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. 360 "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. 361 }, 362 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 363 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 364 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 365 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 366 "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. 367 "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. 368 }, 369 "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). 370 # 371 # Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. 372 "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. 373 "creativeSettings": { # Creative Settings # Site-wide creative settings. 374 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 375 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 376 }, 377 }, 378 "approved": True or False, # Whether this site is approved. 379 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 380 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 381 "value": "A String", # The value of the dimension. 382 "dimensionName": "A String", # The name of the dimension. 383 "etag": "A String", # The eTag of this response for caching purposes. 384 "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. 385 "id": "A String", # The ID associated with the value if available. 386 }, 387 "siteContacts": [ # Site contacts. 388 { # Site Contact 389 "firstName": "A String", # First name of this site contact. 390 "title": "A String", # Title or designation of this site contact. 391 "lastName": "A String", # Last name of this site contact. 392 "address": "A String", # Address of this site contact. 393 "email": "A String", # Email address of this site contact. This is a required field. 394 "phone": "A String", # Primary phone number of this site contact. 395 "contactType": "A String", # Site contact type. 396 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 397 }, 398 ], 399 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 400 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 401 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 402 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 403 }, 404 ], 405 }</pre> 406</div> 407 408<div class="method"> 409 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 410 <pre>Retrieves the next page of results. 411 412Args: 413 previous_request: The request for the previous page. (required) 414 previous_response: The response from the request for the previous page. (required) 415 416Returns: 417 A request object that you can call 'execute()' on to request the next 418 page. Returns None if there are no more items in the collection. 419 </pre> 420</div> 421 422<div class="method"> 423 <code class="details" id="patch">patch(profileId, id, body)</code> 424 <pre>Updates an existing site. This method supports patch semantics. 425 426Args: 427 profileId: string, User profile ID associated with this request. (required) 428 id: string, Site ID. (required) 429 body: object, The request body. (required) 430 The object takes the form of: 431 432{ # Contains properties of a site. 433 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 434 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 435 "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. 436 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 437 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 438 "value": "A String", # The value of the dimension. 439 "dimensionName": "A String", # The name of the dimension. 440 "etag": "A String", # The eTag of this response for caching purposes. 441 "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. 442 "id": "A String", # The ID associated with the value if available. 443 }, 444 "siteSettings": { # Site Settings # Site-wide settings. 445 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 446 "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. 447 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 448 "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. 449 "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. 450 }, 451 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 452 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 453 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 454 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 455 "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. 456 "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. 457 }, 458 "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). 459 # 460 # Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. 461 "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. 462 "creativeSettings": { # Creative Settings # Site-wide creative settings. 463 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 464 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 465 }, 466 }, 467 "approved": True or False, # Whether this site is approved. 468 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 469 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 470 "value": "A String", # The value of the dimension. 471 "dimensionName": "A String", # The name of the dimension. 472 "etag": "A String", # The eTag of this response for caching purposes. 473 "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. 474 "id": "A String", # The ID associated with the value if available. 475 }, 476 "siteContacts": [ # Site contacts. 477 { # Site Contact 478 "firstName": "A String", # First name of this site contact. 479 "title": "A String", # Title or designation of this site contact. 480 "lastName": "A String", # Last name of this site contact. 481 "address": "A String", # Address of this site contact. 482 "email": "A String", # Email address of this site contact. This is a required field. 483 "phone": "A String", # Primary phone number of this site contact. 484 "contactType": "A String", # Site contact type. 485 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 486 }, 487 ], 488 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 489 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 490 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 491 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 492 } 493 494 495Returns: 496 An object of the form: 497 498 { # Contains properties of a site. 499 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 500 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 501 "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. 502 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 503 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 504 "value": "A String", # The value of the dimension. 505 "dimensionName": "A String", # The name of the dimension. 506 "etag": "A String", # The eTag of this response for caching purposes. 507 "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. 508 "id": "A String", # The ID associated with the value if available. 509 }, 510 "siteSettings": { # Site Settings # Site-wide settings. 511 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 512 "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. 513 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 514 "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. 515 "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. 516 }, 517 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 518 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 519 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 520 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 521 "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. 522 "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. 523 }, 524 "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). 525 # 526 # Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. 527 "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. 528 "creativeSettings": { # Creative Settings # Site-wide creative settings. 529 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 530 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 531 }, 532 }, 533 "approved": True or False, # Whether this site is approved. 534 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 535 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 536 "value": "A String", # The value of the dimension. 537 "dimensionName": "A String", # The name of the dimension. 538 "etag": "A String", # The eTag of this response for caching purposes. 539 "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. 540 "id": "A String", # The ID associated with the value if available. 541 }, 542 "siteContacts": [ # Site contacts. 543 { # Site Contact 544 "firstName": "A String", # First name of this site contact. 545 "title": "A String", # Title or designation of this site contact. 546 "lastName": "A String", # Last name of this site contact. 547 "address": "A String", # Address of this site contact. 548 "email": "A String", # Email address of this site contact. This is a required field. 549 "phone": "A String", # Primary phone number of this site contact. 550 "contactType": "A String", # Site contact type. 551 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 552 }, 553 ], 554 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 555 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 556 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 557 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 558 }</pre> 559</div> 560 561<div class="method"> 562 <code class="details" id="update">update(profileId, body)</code> 563 <pre>Updates an existing site. 564 565Args: 566 profileId: string, User profile ID associated with this request. (required) 567 body: object, The request body. (required) 568 The object takes the form of: 569 570{ # Contains properties of a site. 571 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 572 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 573 "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. 574 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 575 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 576 "value": "A String", # The value of the dimension. 577 "dimensionName": "A String", # The name of the dimension. 578 "etag": "A String", # The eTag of this response for caching purposes. 579 "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. 580 "id": "A String", # The ID associated with the value if available. 581 }, 582 "siteSettings": { # Site Settings # Site-wide settings. 583 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 584 "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. 585 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 586 "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. 587 "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. 588 }, 589 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 590 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 591 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 592 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 593 "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. 594 "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. 595 }, 596 "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). 597 # 598 # Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. 599 "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. 600 "creativeSettings": { # Creative Settings # Site-wide creative settings. 601 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 602 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 603 }, 604 }, 605 "approved": True or False, # Whether this site is approved. 606 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 607 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 608 "value": "A String", # The value of the dimension. 609 "dimensionName": "A String", # The name of the dimension. 610 "etag": "A String", # The eTag of this response for caching purposes. 611 "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. 612 "id": "A String", # The ID associated with the value if available. 613 }, 614 "siteContacts": [ # Site contacts. 615 { # Site Contact 616 "firstName": "A String", # First name of this site contact. 617 "title": "A String", # Title or designation of this site contact. 618 "lastName": "A String", # Last name of this site contact. 619 "address": "A String", # Address of this site contact. 620 "email": "A String", # Email address of this site contact. This is a required field. 621 "phone": "A String", # Primary phone number of this site contact. 622 "contactType": "A String", # Site contact type. 623 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 624 }, 625 ], 626 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 627 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 628 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 629 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 630 } 631 632 633Returns: 634 An object of the form: 635 636 { # Contains properties of a site. 637 "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". 638 "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank. 639 "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. 640 "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field. 641 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 642 "value": "A String", # The value of the dimension. 643 "dimensionName": "A String", # The name of the dimension. 644 "etag": "A String", # The eTag of this response for caching purposes. 645 "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. 646 "id": "A String", # The ID associated with the value if available. 647 }, 648 "siteSettings": { # Site Settings # Site-wide settings. 649 "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site. 650 "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. 651 "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site. 652 "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. 653 "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. 654 }, 655 "disableNewCookie": True or False, # Whether new cookies are disabled for this site. 656 "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags. 657 "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements. 658 "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags. 659 "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. 660 "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. 661 }, 662 "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). 663 # 664 # Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. 665 "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. 666 "creativeSettings": { # Creative Settings # Site-wide creative settings. 667 "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 668 "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long. 669 }, 670 }, 671 "approved": True or False, # Whether this site is approved. 672 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field. 673 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 674 "value": "A String", # The value of the dimension. 675 "dimensionName": "A String", # The name of the dimension. 676 "etag": "A String", # The eTag of this response for caching purposes. 677 "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. 678 "id": "A String", # The ID associated with the value if available. 679 }, 680 "siteContacts": [ # Site contacts. 681 { # Site Contact 682 "firstName": "A String", # First name of this site contact. 683 "title": "A String", # Title or designation of this site contact. 684 "lastName": "A String", # Last name of this site contact. 685 "address": "A String", # Address of this site contact. 686 "email": "A String", # Email address of this site contact. This is a required field. 687 "phone": "A String", # Primary phone number of this site contact. 688 "contactType": "A String", # Site contact type. 689 "id": "A String", # ID of this site contact. This is a read-only, auto-generated field. 690 }, 691 ], 692 "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field. 693 "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion. 694 "id": "A String", # ID of this site. This is a read-only, auto-generated field. 695 "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank. 696 }</pre> 697</div> 698 699</body></html>