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_5.html">Campaign Manager 360 API</a> . <a href="dfareporting_v3_5.floodlightActivities.html">floodlightActivities</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#delete">delete(profileId, id, x__xgafv=None)</a></code></p> 82<p class="firstline">Deletes an existing floodlight activity.</p> 83<p class="toc_element"> 84 <code><a href="#generatetag">generatetag(profileId, floodlightActivityId=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Generates a tag for a floodlight activity.</p> 86<p class="toc_element"> 87 <code><a href="#get">get(profileId, id, x__xgafv=None)</a></code></p> 88<p class="firstline">Gets one floodlight activity by ID.</p> 89<p class="toc_element"> 90 <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p> 91<p class="firstline">Inserts a new floodlight activity.</p> 92<p class="toc_element"> 93 <code><a href="#list">list(profileId, advertiserId=None, floodlightActivityGroupIds=None, floodlightActivityGroupName=None, floodlightActivityGroupTagString=None, floodlightActivityGroupType=None, floodlightConfigurationId=None, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, tagString=None, x__xgafv=None)</a></code></p> 94<p class="firstline">Retrieves a list of floodlight activities, possibly filtered. This method supports paging.</p> 95<p class="toc_element"> 96 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 97<p class="firstline">Retrieves the next page of results.</p> 98<p class="toc_element"> 99 <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p> 100<p class="firstline">Updates an existing floodlight activity. This method supports patch semantics.</p> 101<p class="toc_element"> 102 <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p> 103<p class="firstline">Updates an existing floodlight activity.</p> 104<h3>Method Details</h3> 105<div class="method"> 106 <code class="details" id="close">close()</code> 107 <pre>Close httplib2 connections.</pre> 108</div> 109 110<div class="method"> 111 <code class="details" id="delete">delete(profileId, id, x__xgafv=None)</code> 112 <pre>Deletes an existing floodlight activity. 113 114Args: 115 profileId: string, User profile ID associated with this request. (required) 116 id: string, Floodlight activity ID. (required) 117 x__xgafv: string, V1 error format. 118 Allowed values 119 1 - v1 error format 120 2 - v2 error format 121</pre> 122</div> 123 124<div class="method"> 125 <code class="details" id="generatetag">generatetag(profileId, floodlightActivityId=None, x__xgafv=None)</code> 126 <pre>Generates a tag for a floodlight activity. 127 128Args: 129 profileId: string, User profile ID associated with this request. (required) 130 floodlightActivityId: string, Floodlight activity ID for which we want to generate a tag. 131 x__xgafv: string, V1 error format. 132 Allowed values 133 1 - v1 error format 134 2 - v2 error format 135 136Returns: 137 An object of the form: 138 139 { # Floodlight Activity GenerateTag Response 140 "floodlightActivityTag": "A String", # Generated tag for this Floodlight activity. For global site tags, this is the event snippet. 141 "globalSiteTagGlobalSnippet": "A String", # The global snippet section of a global site tag. The global site tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more. 142 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesGenerateTagResponse". 143}</pre> 144</div> 145 146<div class="method"> 147 <code class="details" id="get">get(profileId, id, x__xgafv=None)</code> 148 <pre>Gets one floodlight activity by ID. 149 150Args: 151 profileId: string, User profile ID associated with this request. (required) 152 id: string, Floodlight activity ID. (required) 153 x__xgafv: string, V1 error format. 154 Allowed values 155 1 - v1 error format 156 2 - v2 error format 157 158Returns: 159 An object of the form: 160 161 { # Contains properties of a Floodlight activity. 162 "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank. 163 "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. 164 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. 165 "dimensionName": "A String", # The name of the dimension. 166 "etag": "A String", # The eTag of this response for caching purposes. 167 "id": "A String", # The ID associated with the value if available. 168 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 169 "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. 170 "value": "A String", # The value of the dimension. 171 }, 172 "attributionEnabled": True or False, # Whether the activity is enabled for attribution. 173 "cacheBustingType": "A String", # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. 174 "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field. 175 "defaultTags": [ # Dynamic floodlight tags. 176 { # Dynamic Tag 177 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 178 "name": "A String", # Name of this tag. 179 "tag": "A String", # Tag code. 180 }, 181 ], 182 "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long. 183 "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field. 184 "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field. 185 "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field. 186 "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field. 187 "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. 188 "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. 189 "dimensionName": "A String", # The name of the dimension. 190 "etag": "A String", # The eTag of this response for caching purposes. 191 "id": "A String", # The ID associated with the value if available. 192 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 193 "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. 194 "value": "A String", # The value of the dimension. 195 }, 196 "floodlightTagType": "A String", # The type of Floodlight tag this activity will generate. This is a required field. 197 "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field. 198 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. 199 "dimensionName": "A String", # The name of the dimension. 200 "etag": "A String", # The eTag of this response for caching purposes. 201 "id": "A String", # The ID associated with the value if available. 202 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 203 "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. 204 "value": "A String", # The value of the dimension. 205 }, 206 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". 207 "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. 208 "notes": "A String", # General notes or implementation instructions for the tag. 209 "publisherTags": [ # Publisher dynamic floodlight tags. 210 { # Publisher Dynamic Tag 211 "clickThrough": True or False, # Whether this tag is applicable only for click-throughs. 212 "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. 213 "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag. 214 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 215 "name": "A String", # Name of this tag. 216 "tag": "A String", # Tag code. 217 }, 218 "siteId": "A String", # Site ID of this dynamic tag. 219 "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field. 220 "dimensionName": "A String", # The name of the dimension. 221 "etag": "A String", # The eTag of this response for caching purposes. 222 "id": "A String", # The ID associated with the value if available. 223 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 224 "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. 225 "value": "A String", # The value of the dimension. 226 }, 227 "viewThrough": True or False, # Whether this tag is applicable only for view-throughs. 228 }, 229 ], 230 "secure": True or False, # Whether this tag should use SSL. 231 "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. 232 "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant. 233 "status": "A String", # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. 234 "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. 235 "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. 236 "tagString": "A String", # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. 237 "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. 238 "A String", 239 ], 240}</pre> 241</div> 242 243<div class="method"> 244 <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code> 245 <pre>Inserts a new floodlight activity. 246 247Args: 248 profileId: string, User profile ID associated with this request. (required) 249 body: object, The request body. 250 The object takes the form of: 251 252{ # Contains properties of a Floodlight activity. 253 "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank. 254 "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. 255 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. 256 "dimensionName": "A String", # The name of the dimension. 257 "etag": "A String", # The eTag of this response for caching purposes. 258 "id": "A String", # The ID associated with the value if available. 259 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 260 "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. 261 "value": "A String", # The value of the dimension. 262 }, 263 "attributionEnabled": True or False, # Whether the activity is enabled for attribution. 264 "cacheBustingType": "A String", # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. 265 "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field. 266 "defaultTags": [ # Dynamic floodlight tags. 267 { # Dynamic Tag 268 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 269 "name": "A String", # Name of this tag. 270 "tag": "A String", # Tag code. 271 }, 272 ], 273 "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long. 274 "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field. 275 "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field. 276 "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field. 277 "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field. 278 "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. 279 "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. 280 "dimensionName": "A String", # The name of the dimension. 281 "etag": "A String", # The eTag of this response for caching purposes. 282 "id": "A String", # The ID associated with the value if available. 283 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 284 "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. 285 "value": "A String", # The value of the dimension. 286 }, 287 "floodlightTagType": "A String", # The type of Floodlight tag this activity will generate. This is a required field. 288 "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field. 289 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. 290 "dimensionName": "A String", # The name of the dimension. 291 "etag": "A String", # The eTag of this response for caching purposes. 292 "id": "A String", # The ID associated with the value if available. 293 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 294 "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. 295 "value": "A String", # The value of the dimension. 296 }, 297 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". 298 "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. 299 "notes": "A String", # General notes or implementation instructions for the tag. 300 "publisherTags": [ # Publisher dynamic floodlight tags. 301 { # Publisher Dynamic Tag 302 "clickThrough": True or False, # Whether this tag is applicable only for click-throughs. 303 "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. 304 "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag. 305 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 306 "name": "A String", # Name of this tag. 307 "tag": "A String", # Tag code. 308 }, 309 "siteId": "A String", # Site ID of this dynamic tag. 310 "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field. 311 "dimensionName": "A String", # The name of the dimension. 312 "etag": "A String", # The eTag of this response for caching purposes. 313 "id": "A String", # The ID associated with the value if available. 314 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 315 "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. 316 "value": "A String", # The value of the dimension. 317 }, 318 "viewThrough": True or False, # Whether this tag is applicable only for view-throughs. 319 }, 320 ], 321 "secure": True or False, # Whether this tag should use SSL. 322 "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. 323 "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant. 324 "status": "A String", # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. 325 "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. 326 "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. 327 "tagString": "A String", # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. 328 "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. 329 "A String", 330 ], 331} 332 333 x__xgafv: string, V1 error format. 334 Allowed values 335 1 - v1 error format 336 2 - v2 error format 337 338Returns: 339 An object of the form: 340 341 { # Contains properties of a Floodlight activity. 342 "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank. 343 "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. 344 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. 345 "dimensionName": "A String", # The name of the dimension. 346 "etag": "A String", # The eTag of this response for caching purposes. 347 "id": "A String", # The ID associated with the value if available. 348 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 349 "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. 350 "value": "A String", # The value of the dimension. 351 }, 352 "attributionEnabled": True or False, # Whether the activity is enabled for attribution. 353 "cacheBustingType": "A String", # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. 354 "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field. 355 "defaultTags": [ # Dynamic floodlight tags. 356 { # Dynamic Tag 357 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 358 "name": "A String", # Name of this tag. 359 "tag": "A String", # Tag code. 360 }, 361 ], 362 "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long. 363 "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field. 364 "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field. 365 "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field. 366 "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field. 367 "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. 368 "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. 369 "dimensionName": "A String", # The name of the dimension. 370 "etag": "A String", # The eTag of this response for caching purposes. 371 "id": "A String", # The ID associated with the value if available. 372 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 373 "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. 374 "value": "A String", # The value of the dimension. 375 }, 376 "floodlightTagType": "A String", # The type of Floodlight tag this activity will generate. This is a required field. 377 "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field. 378 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. 379 "dimensionName": "A String", # The name of the dimension. 380 "etag": "A String", # The eTag of this response for caching purposes. 381 "id": "A String", # The ID associated with the value if available. 382 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 383 "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. 384 "value": "A String", # The value of the dimension. 385 }, 386 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". 387 "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. 388 "notes": "A String", # General notes or implementation instructions for the tag. 389 "publisherTags": [ # Publisher dynamic floodlight tags. 390 { # Publisher Dynamic Tag 391 "clickThrough": True or False, # Whether this tag is applicable only for click-throughs. 392 "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. 393 "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag. 394 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 395 "name": "A String", # Name of this tag. 396 "tag": "A String", # Tag code. 397 }, 398 "siteId": "A String", # Site ID of this dynamic tag. 399 "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field. 400 "dimensionName": "A String", # The name of the dimension. 401 "etag": "A String", # The eTag of this response for caching purposes. 402 "id": "A String", # The ID associated with the value if available. 403 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 404 "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. 405 "value": "A String", # The value of the dimension. 406 }, 407 "viewThrough": True or False, # Whether this tag is applicable only for view-throughs. 408 }, 409 ], 410 "secure": True or False, # Whether this tag should use SSL. 411 "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. 412 "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant. 413 "status": "A String", # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. 414 "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. 415 "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. 416 "tagString": "A String", # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. 417 "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. 418 "A String", 419 ], 420}</pre> 421</div> 422 423<div class="method"> 424 <code class="details" id="list">list(profileId, advertiserId=None, floodlightActivityGroupIds=None, floodlightActivityGroupName=None, floodlightActivityGroupTagString=None, floodlightActivityGroupType=None, floodlightConfigurationId=None, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, tagString=None, x__xgafv=None)</code> 425 <pre>Retrieves a list of floodlight activities, possibly filtered. This method supports paging. 426 427Args: 428 profileId: string, User profile ID associated with this request. (required) 429 advertiserId: string, Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. 430 floodlightActivityGroupIds: string, Select only floodlight activities with the specified floodlight activity group IDs. (repeated) 431 floodlightActivityGroupName: string, Select only floodlight activities with the specified floodlight activity group name. 432 floodlightActivityGroupTagString: string, Select only floodlight activities with the specified floodlight activity group tag string. 433 floodlightActivityGroupType: string, Select only floodlight activities with the specified floodlight activity group type. 434 Allowed values 435 COUNTER - 436 SALE - 437 floodlightConfigurationId: string, Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. 438 ids: string, Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. (repeated) 439 maxResults: integer, Maximum number of results to return. 440 pageToken: string, Value of the nextPageToken from the previous result page. 441 searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return objects with names like "floodlightactivity June 2015", "floodlightactivity April 2015", or simply "floodlightactivity 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 "floodlightactivity" will match objects with name "my floodlightactivity activity", "floodlightactivity 2015", or simply "floodlightactivity". 442 sortField: string, Field by which to sort the list. 443 Allowed values 444 ID - 445 NAME - 446 sortOrder: string, Order of sorted results. 447 Allowed values 448 ASCENDING - 449 DESCENDING - 450 tagString: string, Select only floodlight activities with the specified tag string. 451 x__xgafv: string, V1 error format. 452 Allowed values 453 1 - v1 error format 454 2 - v2 error format 455 456Returns: 457 An object of the form: 458 459 { # Floodlight Activity List Response 460 "floodlightActivities": [ # Floodlight activity collection. 461 { # Contains properties of a Floodlight activity. 462 "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank. 463 "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. 464 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. 465 "dimensionName": "A String", # The name of the dimension. 466 "etag": "A String", # The eTag of this response for caching purposes. 467 "id": "A String", # The ID associated with the value if available. 468 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 469 "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. 470 "value": "A String", # The value of the dimension. 471 }, 472 "attributionEnabled": True or False, # Whether the activity is enabled for attribution. 473 "cacheBustingType": "A String", # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. 474 "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field. 475 "defaultTags": [ # Dynamic floodlight tags. 476 { # Dynamic Tag 477 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 478 "name": "A String", # Name of this tag. 479 "tag": "A String", # Tag code. 480 }, 481 ], 482 "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long. 483 "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field. 484 "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field. 485 "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field. 486 "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field. 487 "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. 488 "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. 489 "dimensionName": "A String", # The name of the dimension. 490 "etag": "A String", # The eTag of this response for caching purposes. 491 "id": "A String", # The ID associated with the value if available. 492 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 493 "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. 494 "value": "A String", # The value of the dimension. 495 }, 496 "floodlightTagType": "A String", # The type of Floodlight tag this activity will generate. This is a required field. 497 "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field. 498 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. 499 "dimensionName": "A String", # The name of the dimension. 500 "etag": "A String", # The eTag of this response for caching purposes. 501 "id": "A String", # The ID associated with the value if available. 502 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 503 "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. 504 "value": "A String", # The value of the dimension. 505 }, 506 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". 507 "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. 508 "notes": "A String", # General notes or implementation instructions for the tag. 509 "publisherTags": [ # Publisher dynamic floodlight tags. 510 { # Publisher Dynamic Tag 511 "clickThrough": True or False, # Whether this tag is applicable only for click-throughs. 512 "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. 513 "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag. 514 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 515 "name": "A String", # Name of this tag. 516 "tag": "A String", # Tag code. 517 }, 518 "siteId": "A String", # Site ID of this dynamic tag. 519 "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field. 520 "dimensionName": "A String", # The name of the dimension. 521 "etag": "A String", # The eTag of this response for caching purposes. 522 "id": "A String", # The ID associated with the value if available. 523 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 524 "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. 525 "value": "A String", # The value of the dimension. 526 }, 527 "viewThrough": True or False, # Whether this tag is applicable only for view-throughs. 528 }, 529 ], 530 "secure": True or False, # Whether this tag should use SSL. 531 "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. 532 "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant. 533 "status": "A String", # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. 534 "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. 535 "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. 536 "tagString": "A String", # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. 537 "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. 538 "A String", 539 ], 540 }, 541 ], 542 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesListResponse". 543 "nextPageToken": "A String", # Pagination token to be used for the next list operation. 544}</pre> 545</div> 546 547<div class="method"> 548 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 549 <pre>Retrieves the next page of results. 550 551Args: 552 previous_request: The request for the previous page. (required) 553 previous_response: The response from the request for the previous page. (required) 554 555Returns: 556 A request object that you can call 'execute()' on to request the next 557 page. Returns None if there are no more items in the collection. 558 </pre> 559</div> 560 561<div class="method"> 562 <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code> 563 <pre>Updates an existing floodlight activity. This method supports patch semantics. 564 565Args: 566 profileId: string, User profile ID associated with this request. (required) 567 id: string, FloodlightActivity ID. (required) 568 body: object, The request body. 569 The object takes the form of: 570 571{ # Contains properties of a Floodlight activity. 572 "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank. 573 "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. 574 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. 575 "dimensionName": "A String", # The name of the dimension. 576 "etag": "A String", # The eTag of this response for caching purposes. 577 "id": "A String", # The ID associated with the value if available. 578 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 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 "value": "A String", # The value of the dimension. 581 }, 582 "attributionEnabled": True or False, # Whether the activity is enabled for attribution. 583 "cacheBustingType": "A String", # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. 584 "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field. 585 "defaultTags": [ # Dynamic floodlight tags. 586 { # Dynamic Tag 587 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 588 "name": "A String", # Name of this tag. 589 "tag": "A String", # Tag code. 590 }, 591 ], 592 "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long. 593 "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field. 594 "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field. 595 "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field. 596 "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field. 597 "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. 598 "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. 599 "dimensionName": "A String", # The name of the dimension. 600 "etag": "A String", # The eTag of this response for caching purposes. 601 "id": "A String", # The ID associated with the value if available. 602 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 603 "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. 604 "value": "A String", # The value of the dimension. 605 }, 606 "floodlightTagType": "A String", # The type of Floodlight tag this activity will generate. This is a required field. 607 "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field. 608 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. 609 "dimensionName": "A String", # The name of the dimension. 610 "etag": "A String", # The eTag of this response for caching purposes. 611 "id": "A String", # The ID associated with the value if available. 612 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 613 "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. 614 "value": "A String", # The value of the dimension. 615 }, 616 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". 617 "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. 618 "notes": "A String", # General notes or implementation instructions for the tag. 619 "publisherTags": [ # Publisher dynamic floodlight tags. 620 { # Publisher Dynamic Tag 621 "clickThrough": True or False, # Whether this tag is applicable only for click-throughs. 622 "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. 623 "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag. 624 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 625 "name": "A String", # Name of this tag. 626 "tag": "A String", # Tag code. 627 }, 628 "siteId": "A String", # Site ID of this dynamic tag. 629 "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field. 630 "dimensionName": "A String", # The name of the dimension. 631 "etag": "A String", # The eTag of this response for caching purposes. 632 "id": "A String", # The ID associated with the value if available. 633 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 634 "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. 635 "value": "A String", # The value of the dimension. 636 }, 637 "viewThrough": True or False, # Whether this tag is applicable only for view-throughs. 638 }, 639 ], 640 "secure": True or False, # Whether this tag should use SSL. 641 "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. 642 "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant. 643 "status": "A String", # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. 644 "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. 645 "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. 646 "tagString": "A String", # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. 647 "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. 648 "A String", 649 ], 650} 651 652 x__xgafv: string, V1 error format. 653 Allowed values 654 1 - v1 error format 655 2 - v2 error format 656 657Returns: 658 An object of the form: 659 660 { # Contains properties of a Floodlight activity. 661 "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank. 662 "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. 663 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. 664 "dimensionName": "A String", # The name of the dimension. 665 "etag": "A String", # The eTag of this response for caching purposes. 666 "id": "A String", # The ID associated with the value if available. 667 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 668 "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. 669 "value": "A String", # The value of the dimension. 670 }, 671 "attributionEnabled": True or False, # Whether the activity is enabled for attribution. 672 "cacheBustingType": "A String", # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. 673 "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field. 674 "defaultTags": [ # Dynamic floodlight tags. 675 { # Dynamic Tag 676 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 677 "name": "A String", # Name of this tag. 678 "tag": "A String", # Tag code. 679 }, 680 ], 681 "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long. 682 "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field. 683 "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field. 684 "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field. 685 "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field. 686 "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. 687 "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. 688 "dimensionName": "A String", # The name of the dimension. 689 "etag": "A String", # The eTag of this response for caching purposes. 690 "id": "A String", # The ID associated with the value if available. 691 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 692 "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. 693 "value": "A String", # The value of the dimension. 694 }, 695 "floodlightTagType": "A String", # The type of Floodlight tag this activity will generate. This is a required field. 696 "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field. 697 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. 698 "dimensionName": "A String", # The name of the dimension. 699 "etag": "A String", # The eTag of this response for caching purposes. 700 "id": "A String", # The ID associated with the value if available. 701 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 702 "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. 703 "value": "A String", # The value of the dimension. 704 }, 705 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". 706 "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. 707 "notes": "A String", # General notes or implementation instructions for the tag. 708 "publisherTags": [ # Publisher dynamic floodlight tags. 709 { # Publisher Dynamic Tag 710 "clickThrough": True or False, # Whether this tag is applicable only for click-throughs. 711 "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. 712 "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag. 713 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 714 "name": "A String", # Name of this tag. 715 "tag": "A String", # Tag code. 716 }, 717 "siteId": "A String", # Site ID of this dynamic tag. 718 "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field. 719 "dimensionName": "A String", # The name of the dimension. 720 "etag": "A String", # The eTag of this response for caching purposes. 721 "id": "A String", # The ID associated with the value if available. 722 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 723 "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. 724 "value": "A String", # The value of the dimension. 725 }, 726 "viewThrough": True or False, # Whether this tag is applicable only for view-throughs. 727 }, 728 ], 729 "secure": True or False, # Whether this tag should use SSL. 730 "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. 731 "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant. 732 "status": "A String", # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. 733 "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. 734 "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. 735 "tagString": "A String", # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. 736 "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. 737 "A String", 738 ], 739}</pre> 740</div> 741 742<div class="method"> 743 <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code> 744 <pre>Updates an existing floodlight activity. 745 746Args: 747 profileId: string, User profile ID associated with this request. (required) 748 body: object, The request body. 749 The object takes the form of: 750 751{ # Contains properties of a Floodlight activity. 752 "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank. 753 "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. 754 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. 755 "dimensionName": "A String", # The name of the dimension. 756 "etag": "A String", # The eTag of this response for caching purposes. 757 "id": "A String", # The ID associated with the value if available. 758 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 759 "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. 760 "value": "A String", # The value of the dimension. 761 }, 762 "attributionEnabled": True or False, # Whether the activity is enabled for attribution. 763 "cacheBustingType": "A String", # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. 764 "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field. 765 "defaultTags": [ # Dynamic floodlight tags. 766 { # Dynamic Tag 767 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 768 "name": "A String", # Name of this tag. 769 "tag": "A String", # Tag code. 770 }, 771 ], 772 "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long. 773 "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field. 774 "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field. 775 "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field. 776 "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field. 777 "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. 778 "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. 779 "dimensionName": "A String", # The name of the dimension. 780 "etag": "A String", # The eTag of this response for caching purposes. 781 "id": "A String", # The ID associated with the value if available. 782 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 783 "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. 784 "value": "A String", # The value of the dimension. 785 }, 786 "floodlightTagType": "A String", # The type of Floodlight tag this activity will generate. This is a required field. 787 "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field. 788 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. 789 "dimensionName": "A String", # The name of the dimension. 790 "etag": "A String", # The eTag of this response for caching purposes. 791 "id": "A String", # The ID associated with the value if available. 792 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 793 "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. 794 "value": "A String", # The value of the dimension. 795 }, 796 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". 797 "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. 798 "notes": "A String", # General notes or implementation instructions for the tag. 799 "publisherTags": [ # Publisher dynamic floodlight tags. 800 { # Publisher Dynamic Tag 801 "clickThrough": True or False, # Whether this tag is applicable only for click-throughs. 802 "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. 803 "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag. 804 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 805 "name": "A String", # Name of this tag. 806 "tag": "A String", # Tag code. 807 }, 808 "siteId": "A String", # Site ID of this dynamic tag. 809 "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field. 810 "dimensionName": "A String", # The name of the dimension. 811 "etag": "A String", # The eTag of this response for caching purposes. 812 "id": "A String", # The ID associated with the value if available. 813 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 814 "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. 815 "value": "A String", # The value of the dimension. 816 }, 817 "viewThrough": True or False, # Whether this tag is applicable only for view-throughs. 818 }, 819 ], 820 "secure": True or False, # Whether this tag should use SSL. 821 "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. 822 "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant. 823 "status": "A String", # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. 824 "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. 825 "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. 826 "tagString": "A String", # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. 827 "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. 828 "A String", 829 ], 830} 831 832 x__xgafv: string, V1 error format. 833 Allowed values 834 1 - v1 error format 835 2 - v2 error format 836 837Returns: 838 An object of the form: 839 840 { # Contains properties of a Floodlight activity. 841 "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank. 842 "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. 843 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. 844 "dimensionName": "A String", # The name of the dimension. 845 "etag": "A String", # The eTag of this response for caching purposes. 846 "id": "A String", # The ID associated with the value if available. 847 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 848 "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. 849 "value": "A String", # The value of the dimension. 850 }, 851 "attributionEnabled": True or False, # Whether the activity is enabled for attribution. 852 "cacheBustingType": "A String", # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. 853 "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field. 854 "defaultTags": [ # Dynamic floodlight tags. 855 { # Dynamic Tag 856 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 857 "name": "A String", # Name of this tag. 858 "tag": "A String", # Tag code. 859 }, 860 ], 861 "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long. 862 "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field. 863 "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field. 864 "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field. 865 "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field. 866 "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. 867 "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. 868 "dimensionName": "A String", # The name of the dimension. 869 "etag": "A String", # The eTag of this response for caching purposes. 870 "id": "A String", # The ID associated with the value if available. 871 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 872 "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. 873 "value": "A String", # The value of the dimension. 874 }, 875 "floodlightTagType": "A String", # The type of Floodlight tag this activity will generate. This is a required field. 876 "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field. 877 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. 878 "dimensionName": "A String", # The name of the dimension. 879 "etag": "A String", # The eTag of this response for caching purposes. 880 "id": "A String", # The ID associated with the value if available. 881 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 882 "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. 883 "value": "A String", # The value of the dimension. 884 }, 885 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". 886 "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. 887 "notes": "A String", # General notes or implementation instructions for the tag. 888 "publisherTags": [ # Publisher dynamic floodlight tags. 889 { # Publisher Dynamic Tag 890 "clickThrough": True or False, # Whether this tag is applicable only for click-throughs. 891 "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. 892 "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag. 893 "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field. 894 "name": "A String", # Name of this tag. 895 "tag": "A String", # Tag code. 896 }, 897 "siteId": "A String", # Site ID of this dynamic tag. 898 "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field. 899 "dimensionName": "A String", # The name of the dimension. 900 "etag": "A String", # The eTag of this response for caching purposes. 901 "id": "A String", # The ID associated with the value if available. 902 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 903 "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. 904 "value": "A String", # The value of the dimension. 905 }, 906 "viewThrough": True or False, # Whether this tag is applicable only for view-throughs. 907 }, 908 ], 909 "secure": True or False, # Whether this tag should use SSL. 910 "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. 911 "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant. 912 "status": "A String", # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. 913 "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. 914 "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. 915 "tagString": "A String", # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. 916 "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. 917 "A String", 918 ], 919}</pre> 920</div> 921 922</body></html>