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.campaigns.html">campaigns</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="#get">get(profileId, id, x__xgafv=None)</a></code></p> 82<p class="firstline">Gets one campaign by ID.</p> 83<p class="toc_element"> 84 <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Inserts a new campaign.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(profileId, advertiserGroupIds=None, advertiserIds=None, archived=None, atLeastOneOptimizationActivity=None, excludedIds=None, ids=None, maxResults=None, overriddenEventTagId=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Retrieves a list of campaigns, possibly filtered. This method supports paging.</p> 89<p class="toc_element"> 90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 91<p class="firstline">Retrieves the next page of results.</p> 92<p class="toc_element"> 93 <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p> 94<p class="firstline">Updates an existing campaign. This method supports patch semantics.</p> 95<p class="toc_element"> 96 <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Updates an existing campaign.</p> 98<h3>Method Details</h3> 99<div class="method"> 100 <code class="details" id="close">close()</code> 101 <pre>Close httplib2 connections.</pre> 102</div> 103 104<div class="method"> 105 <code class="details" id="get">get(profileId, id, x__xgafv=None)</code> 106 <pre>Gets one campaign by ID. 107 108Args: 109 profileId: string, User profile ID associated with this request. (required) 110 id: string, Campaign ID. (required) 111 x__xgafv: string, V1 error format. 112 Allowed values 113 1 - v1 error format 114 2 - v2 error format 115 116Returns: 117 An object of the form: 118 119 { # Contains properties of a Campaign Manager campaign. 120 "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank. 121 "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign. 122 "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. 123 }, 124 "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign. 125 { # Creative optimization settings. 126 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 127 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 128 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 129 { # Creative optimization activity. 130 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 131 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 132 "dimensionName": "A String", # The name of the dimension. 133 "etag": "A String", # The eTag of this response for caching purposes. 134 "id": "A String", # The ID associated with the value if available. 135 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 136 "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. 137 "value": "A String", # The value of the dimension. 138 }, 139 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 140 }, 141 ], 142 "optimizationModel": "A String", # Optimization model for this configuration. 143 }, 144 ], 145 "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser. 146 "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field. 147 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. 148 "dimensionName": "A String", # The name of the dimension. 149 "etag": "A String", # The eTag of this response for caching purposes. 150 "id": "A String", # The ID associated with the value if available. 151 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 152 "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. 153 "value": "A String", # The value of the dimension. 154 }, 155 "archived": True or False, # Whether this campaign has been archived. 156 "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. 157 { # Audience Segment Group. 158 "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100. 159 { # Audience Segment. 160 "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. 161 "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field. 162 "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long. 163 }, 164 ], 165 "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field. 166 "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long. 167 }, 168 ], 169 "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. 170 "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign. 171 "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. 172 "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value. 173 }, 174 "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long. 175 "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field. 176 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 177 }, 178 "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign. 179 "A String", 180 ], 181 "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign. 182 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 183 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 184 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 185 { # Creative optimization activity. 186 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 187 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 188 "dimensionName": "A String", # The name of the dimension. 189 "etag": "A String", # The eTag of this response for caching purposes. 190 "id": "A String", # The ID associated with the value if available. 191 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 192 "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. 193 "value": "A String", # The value of the dimension. 194 }, 195 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 196 }, 197 ], 198 "optimizationModel": "A String", # Optimization model for this configuration. 199 }, 200 "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign. 201 "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope. 202 "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value. 203 }, 204 "defaultLandingPageId": "A String", # The default landing page ID for this campaign. 205 "endDate": "A String", 206 "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags. 207 { # Event tag override information. 208 "enabled": True or False, # Whether this override is enabled. 209 "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field. 210 }, 211 ], 212 "externalId": "A String", # External ID for this campaign. 213 "id": "A String", # ID of this campaign. This is a read-only auto-generated field. 214 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field. 215 "dimensionName": "A String", # The name of the dimension. 216 "etag": "A String", # The eTag of this response for caching purposes. 217 "id": "A String", # The ID associated with the value if available. 218 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 219 "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. 220 "value": "A String", # The value of the dimension. 221 }, 222 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". 223 "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field. 224 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 225 }, 226 "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping. 227 "linkStatus": "A String", # . 228 "measurementPartner": "A String", # Measurement partner used for tag wrapping. 229 "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner. 230 }, 231 "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. 232 "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign. 233 "startDate": "A String", 234 "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank. 235 "traffickerEmails": [ # Campaign trafficker contact emails. 236 "A String", 237 ], 238}</pre> 239</div> 240 241<div class="method"> 242 <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code> 243 <pre>Inserts a new campaign. 244 245Args: 246 profileId: string, User profile ID associated with this request. (required) 247 body: object, The request body. 248 The object takes the form of: 249 250{ # Contains properties of a Campaign Manager campaign. 251 "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank. 252 "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign. 253 "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. 254 }, 255 "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign. 256 { # Creative optimization settings. 257 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 258 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 259 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 260 { # Creative optimization activity. 261 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 262 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 263 "dimensionName": "A String", # The name of the dimension. 264 "etag": "A String", # The eTag of this response for caching purposes. 265 "id": "A String", # The ID associated with the value if available. 266 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 267 "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. 268 "value": "A String", # The value of the dimension. 269 }, 270 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 271 }, 272 ], 273 "optimizationModel": "A String", # Optimization model for this configuration. 274 }, 275 ], 276 "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser. 277 "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field. 278 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. 279 "dimensionName": "A String", # The name of the dimension. 280 "etag": "A String", # The eTag of this response for caching purposes. 281 "id": "A String", # The ID associated with the value if available. 282 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 283 "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. 284 "value": "A String", # The value of the dimension. 285 }, 286 "archived": True or False, # Whether this campaign has been archived. 287 "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. 288 { # Audience Segment Group. 289 "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100. 290 { # Audience Segment. 291 "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. 292 "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field. 293 "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long. 294 }, 295 ], 296 "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field. 297 "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long. 298 }, 299 ], 300 "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. 301 "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign. 302 "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. 303 "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value. 304 }, 305 "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long. 306 "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field. 307 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 308 }, 309 "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign. 310 "A String", 311 ], 312 "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign. 313 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 314 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 315 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 316 { # Creative optimization activity. 317 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 318 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 319 "dimensionName": "A String", # The name of the dimension. 320 "etag": "A String", # The eTag of this response for caching purposes. 321 "id": "A String", # The ID associated with the value if available. 322 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 323 "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. 324 "value": "A String", # The value of the dimension. 325 }, 326 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 327 }, 328 ], 329 "optimizationModel": "A String", # Optimization model for this configuration. 330 }, 331 "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign. 332 "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope. 333 "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value. 334 }, 335 "defaultLandingPageId": "A String", # The default landing page ID for this campaign. 336 "endDate": "A String", 337 "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags. 338 { # Event tag override information. 339 "enabled": True or False, # Whether this override is enabled. 340 "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field. 341 }, 342 ], 343 "externalId": "A String", # External ID for this campaign. 344 "id": "A String", # ID of this campaign. This is a read-only auto-generated field. 345 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field. 346 "dimensionName": "A String", # The name of the dimension. 347 "etag": "A String", # The eTag of this response for caching purposes. 348 "id": "A String", # The ID associated with the value if available. 349 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 350 "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. 351 "value": "A String", # The value of the dimension. 352 }, 353 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". 354 "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field. 355 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 356 }, 357 "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping. 358 "linkStatus": "A String", # . 359 "measurementPartner": "A String", # Measurement partner used for tag wrapping. 360 "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner. 361 }, 362 "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. 363 "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign. 364 "startDate": "A String", 365 "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank. 366 "traffickerEmails": [ # Campaign trafficker contact emails. 367 "A String", 368 ], 369} 370 371 x__xgafv: string, V1 error format. 372 Allowed values 373 1 - v1 error format 374 2 - v2 error format 375 376Returns: 377 An object of the form: 378 379 { # Contains properties of a Campaign Manager campaign. 380 "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank. 381 "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign. 382 "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. 383 }, 384 "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign. 385 { # Creative optimization settings. 386 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 387 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 388 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 389 { # Creative optimization activity. 390 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 391 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 392 "dimensionName": "A String", # The name of the dimension. 393 "etag": "A String", # The eTag of this response for caching purposes. 394 "id": "A String", # The ID associated with the value if available. 395 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 396 "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. 397 "value": "A String", # The value of the dimension. 398 }, 399 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 400 }, 401 ], 402 "optimizationModel": "A String", # Optimization model for this configuration. 403 }, 404 ], 405 "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser. 406 "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field. 407 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. 408 "dimensionName": "A String", # The name of the dimension. 409 "etag": "A String", # The eTag of this response for caching purposes. 410 "id": "A String", # The ID associated with the value if available. 411 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 412 "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. 413 "value": "A String", # The value of the dimension. 414 }, 415 "archived": True or False, # Whether this campaign has been archived. 416 "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. 417 { # Audience Segment Group. 418 "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100. 419 { # Audience Segment. 420 "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. 421 "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field. 422 "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long. 423 }, 424 ], 425 "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field. 426 "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long. 427 }, 428 ], 429 "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. 430 "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign. 431 "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. 432 "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value. 433 }, 434 "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long. 435 "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field. 436 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 437 }, 438 "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign. 439 "A String", 440 ], 441 "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign. 442 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 443 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 444 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 445 { # Creative optimization activity. 446 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 447 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 448 "dimensionName": "A String", # The name of the dimension. 449 "etag": "A String", # The eTag of this response for caching purposes. 450 "id": "A String", # The ID associated with the value if available. 451 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 452 "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. 453 "value": "A String", # The value of the dimension. 454 }, 455 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 456 }, 457 ], 458 "optimizationModel": "A String", # Optimization model for this configuration. 459 }, 460 "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign. 461 "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope. 462 "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value. 463 }, 464 "defaultLandingPageId": "A String", # The default landing page ID for this campaign. 465 "endDate": "A String", 466 "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags. 467 { # Event tag override information. 468 "enabled": True or False, # Whether this override is enabled. 469 "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field. 470 }, 471 ], 472 "externalId": "A String", # External ID for this campaign. 473 "id": "A String", # ID of this campaign. This is a read-only auto-generated field. 474 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field. 475 "dimensionName": "A String", # The name of the dimension. 476 "etag": "A String", # The eTag of this response for caching purposes. 477 "id": "A String", # The ID associated with the value if available. 478 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 479 "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. 480 "value": "A String", # The value of the dimension. 481 }, 482 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". 483 "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field. 484 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 485 }, 486 "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping. 487 "linkStatus": "A String", # . 488 "measurementPartner": "A String", # Measurement partner used for tag wrapping. 489 "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner. 490 }, 491 "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. 492 "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign. 493 "startDate": "A String", 494 "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank. 495 "traffickerEmails": [ # Campaign trafficker contact emails. 496 "A String", 497 ], 498}</pre> 499</div> 500 501<div class="method"> 502 <code class="details" id="list">list(profileId, advertiserGroupIds=None, advertiserIds=None, archived=None, atLeastOneOptimizationActivity=None, excludedIds=None, ids=None, maxResults=None, overriddenEventTagId=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, x__xgafv=None)</code> 503 <pre>Retrieves a list of campaigns, possibly filtered. This method supports paging. 504 505Args: 506 profileId: string, User profile ID associated with this request. (required) 507 advertiserGroupIds: string, Select only campaigns whose advertisers belong to these advertiser groups. (repeated) 508 advertiserIds: string, Select only campaigns that belong to these advertisers. (repeated) 509 archived: boolean, Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns. 510 atLeastOneOptimizationActivity: boolean, Select only campaigns that have at least one optimization activity. 511 excludedIds: string, Exclude campaigns with these IDs. (repeated) 512 ids: string, Select only campaigns with these IDs. (repeated) 513 maxResults: integer, Maximum number of results to return. 514 overriddenEventTagId: string, Select only campaigns that have overridden this event tag ID. 515 pageToken: string, Value of the nextPageToken from the previous result page. 516 searchString: string, Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns with names like "campaign June 2015", "campaign April 2015", or simply "campaign 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 "campaign" will match campaigns with name "my campaign", "campaign 2015", or simply "campaign". 517 sortField: string, Field by which to sort the list. 518 Allowed values 519 ID - 520 NAME - 521 sortOrder: string, Order of sorted results. 522 Allowed values 523 ASCENDING - 524 DESCENDING - 525 subaccountId: string, Select only campaigns that belong to this subaccount. 526 x__xgafv: string, V1 error format. 527 Allowed values 528 1 - v1 error format 529 2 - v2 error format 530 531Returns: 532 An object of the form: 533 534 { # Campaign List Response 535 "campaigns": [ # Campaign collection. 536 { # Contains properties of a Campaign Manager campaign. 537 "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank. 538 "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign. 539 "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. 540 }, 541 "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign. 542 { # Creative optimization settings. 543 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 544 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 545 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 546 { # Creative optimization activity. 547 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 548 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 549 "dimensionName": "A String", # The name of the dimension. 550 "etag": "A String", # The eTag of this response for caching purposes. 551 "id": "A String", # The ID associated with the value if available. 552 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 553 "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. 554 "value": "A String", # The value of the dimension. 555 }, 556 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 557 }, 558 ], 559 "optimizationModel": "A String", # Optimization model for this configuration. 560 }, 561 ], 562 "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser. 563 "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field. 564 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. 565 "dimensionName": "A String", # The name of the dimension. 566 "etag": "A String", # The eTag of this response for caching purposes. 567 "id": "A String", # The ID associated with the value if available. 568 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 569 "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. 570 "value": "A String", # The value of the dimension. 571 }, 572 "archived": True or False, # Whether this campaign has been archived. 573 "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. 574 { # Audience Segment Group. 575 "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100. 576 { # Audience Segment. 577 "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. 578 "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field. 579 "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long. 580 }, 581 ], 582 "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field. 583 "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long. 584 }, 585 ], 586 "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. 587 "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign. 588 "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. 589 "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value. 590 }, 591 "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long. 592 "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field. 593 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 594 }, 595 "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign. 596 "A String", 597 ], 598 "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign. 599 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 600 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 601 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 602 { # Creative optimization activity. 603 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 604 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 605 "dimensionName": "A String", # The name of the dimension. 606 "etag": "A String", # The eTag of this response for caching purposes. 607 "id": "A String", # The ID associated with the value if available. 608 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 609 "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. 610 "value": "A String", # The value of the dimension. 611 }, 612 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 613 }, 614 ], 615 "optimizationModel": "A String", # Optimization model for this configuration. 616 }, 617 "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign. 618 "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope. 619 "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value. 620 }, 621 "defaultLandingPageId": "A String", # The default landing page ID for this campaign. 622 "endDate": "A String", 623 "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags. 624 { # Event tag override information. 625 "enabled": True or False, # Whether this override is enabled. 626 "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field. 627 }, 628 ], 629 "externalId": "A String", # External ID for this campaign. 630 "id": "A String", # ID of this campaign. This is a read-only auto-generated field. 631 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field. 632 "dimensionName": "A String", # The name of the dimension. 633 "etag": "A String", # The eTag of this response for caching purposes. 634 "id": "A String", # The ID associated with the value if available. 635 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 636 "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. 637 "value": "A String", # The value of the dimension. 638 }, 639 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". 640 "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field. 641 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 642 }, 643 "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping. 644 "linkStatus": "A String", # . 645 "measurementPartner": "A String", # Measurement partner used for tag wrapping. 646 "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner. 647 }, 648 "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. 649 "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign. 650 "startDate": "A String", 651 "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank. 652 "traffickerEmails": [ # Campaign trafficker contact emails. 653 "A String", 654 ], 655 }, 656 ], 657 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignsListResponse". 658 "nextPageToken": "A String", # Pagination token to be used for the next list operation. 659}</pre> 660</div> 661 662<div class="method"> 663 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 664 <pre>Retrieves the next page of results. 665 666Args: 667 previous_request: The request for the previous page. (required) 668 previous_response: The response from the request for the previous page. (required) 669 670Returns: 671 A request object that you can call 'execute()' on to request the next 672 page. Returns None if there are no more items in the collection. 673 </pre> 674</div> 675 676<div class="method"> 677 <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code> 678 <pre>Updates an existing campaign. This method supports patch semantics. 679 680Args: 681 profileId: string, User profile ID associated with this request. (required) 682 id: string, Campaign ID. (required) 683 body: object, The request body. 684 The object takes the form of: 685 686{ # Contains properties of a Campaign Manager campaign. 687 "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank. 688 "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign. 689 "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. 690 }, 691 "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign. 692 { # Creative optimization settings. 693 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 694 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 695 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 696 { # Creative optimization activity. 697 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 698 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 699 "dimensionName": "A String", # The name of the dimension. 700 "etag": "A String", # The eTag of this response for caching purposes. 701 "id": "A String", # The ID associated with the value if available. 702 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 703 "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. 704 "value": "A String", # The value of the dimension. 705 }, 706 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 707 }, 708 ], 709 "optimizationModel": "A String", # Optimization model for this configuration. 710 }, 711 ], 712 "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser. 713 "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field. 714 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. 715 "dimensionName": "A String", # The name of the dimension. 716 "etag": "A String", # The eTag of this response for caching purposes. 717 "id": "A String", # The ID associated with the value if available. 718 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 719 "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. 720 "value": "A String", # The value of the dimension. 721 }, 722 "archived": True or False, # Whether this campaign has been archived. 723 "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. 724 { # Audience Segment Group. 725 "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100. 726 { # Audience Segment. 727 "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. 728 "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field. 729 "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long. 730 }, 731 ], 732 "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field. 733 "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long. 734 }, 735 ], 736 "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. 737 "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign. 738 "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. 739 "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value. 740 }, 741 "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long. 742 "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field. 743 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 744 }, 745 "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign. 746 "A String", 747 ], 748 "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign. 749 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 750 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 751 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 752 { # Creative optimization activity. 753 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 754 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. 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 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 763 }, 764 ], 765 "optimizationModel": "A String", # Optimization model for this configuration. 766 }, 767 "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign. 768 "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope. 769 "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value. 770 }, 771 "defaultLandingPageId": "A String", # The default landing page ID for this campaign. 772 "endDate": "A String", 773 "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags. 774 { # Event tag override information. 775 "enabled": True or False, # Whether this override is enabled. 776 "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field. 777 }, 778 ], 779 "externalId": "A String", # External ID for this campaign. 780 "id": "A String", # ID of this campaign. This is a read-only auto-generated field. 781 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field. 782 "dimensionName": "A String", # The name of the dimension. 783 "etag": "A String", # The eTag of this response for caching purposes. 784 "id": "A String", # The ID associated with the value if available. 785 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 786 "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. 787 "value": "A String", # The value of the dimension. 788 }, 789 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". 790 "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field. 791 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 792 }, 793 "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping. 794 "linkStatus": "A String", # . 795 "measurementPartner": "A String", # Measurement partner used for tag wrapping. 796 "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner. 797 }, 798 "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. 799 "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign. 800 "startDate": "A String", 801 "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank. 802 "traffickerEmails": [ # Campaign trafficker contact emails. 803 "A String", 804 ], 805} 806 807 x__xgafv: string, V1 error format. 808 Allowed values 809 1 - v1 error format 810 2 - v2 error format 811 812Returns: 813 An object of the form: 814 815 { # Contains properties of a Campaign Manager campaign. 816 "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank. 817 "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign. 818 "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. 819 }, 820 "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign. 821 { # Creative optimization settings. 822 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 823 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 824 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 825 { # Creative optimization activity. 826 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 827 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 828 "dimensionName": "A String", # The name of the dimension. 829 "etag": "A String", # The eTag of this response for caching purposes. 830 "id": "A String", # The ID associated with the value if available. 831 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 832 "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. 833 "value": "A String", # The value of the dimension. 834 }, 835 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 836 }, 837 ], 838 "optimizationModel": "A String", # Optimization model for this configuration. 839 }, 840 ], 841 "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser. 842 "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field. 843 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. 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 "archived": True or False, # Whether this campaign has been archived. 852 "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. 853 { # Audience Segment Group. 854 "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100. 855 { # Audience Segment. 856 "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. 857 "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field. 858 "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long. 859 }, 860 ], 861 "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field. 862 "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long. 863 }, 864 ], 865 "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. 866 "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign. 867 "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. 868 "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value. 869 }, 870 "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long. 871 "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field. 872 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 873 }, 874 "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign. 875 "A String", 876 ], 877 "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign. 878 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 879 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 880 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 881 { # Creative optimization activity. 882 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 883 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 884 "dimensionName": "A String", # The name of the dimension. 885 "etag": "A String", # The eTag of this response for caching purposes. 886 "id": "A String", # The ID associated with the value if available. 887 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 888 "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. 889 "value": "A String", # The value of the dimension. 890 }, 891 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 892 }, 893 ], 894 "optimizationModel": "A String", # Optimization model for this configuration. 895 }, 896 "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign. 897 "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope. 898 "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value. 899 }, 900 "defaultLandingPageId": "A String", # The default landing page ID for this campaign. 901 "endDate": "A String", 902 "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags. 903 { # Event tag override information. 904 "enabled": True or False, # Whether this override is enabled. 905 "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field. 906 }, 907 ], 908 "externalId": "A String", # External ID for this campaign. 909 "id": "A String", # ID of this campaign. This is a read-only auto-generated field. 910 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field. 911 "dimensionName": "A String", # The name of the dimension. 912 "etag": "A String", # The eTag of this response for caching purposes. 913 "id": "A String", # The ID associated with the value if available. 914 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 915 "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. 916 "value": "A String", # The value of the dimension. 917 }, 918 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". 919 "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field. 920 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 921 }, 922 "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping. 923 "linkStatus": "A String", # . 924 "measurementPartner": "A String", # Measurement partner used for tag wrapping. 925 "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner. 926 }, 927 "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. 928 "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign. 929 "startDate": "A String", 930 "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank. 931 "traffickerEmails": [ # Campaign trafficker contact emails. 932 "A String", 933 ], 934}</pre> 935</div> 936 937<div class="method"> 938 <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code> 939 <pre>Updates an existing campaign. 940 941Args: 942 profileId: string, User profile ID associated with this request. (required) 943 body: object, The request body. 944 The object takes the form of: 945 946{ # Contains properties of a Campaign Manager campaign. 947 "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank. 948 "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign. 949 "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. 950 }, 951 "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign. 952 { # Creative optimization settings. 953 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 954 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 955 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 956 { # Creative optimization activity. 957 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 958 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 959 "dimensionName": "A String", # The name of the dimension. 960 "etag": "A String", # The eTag of this response for caching purposes. 961 "id": "A String", # The ID associated with the value if available. 962 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 963 "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. 964 "value": "A String", # The value of the dimension. 965 }, 966 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 967 }, 968 ], 969 "optimizationModel": "A String", # Optimization model for this configuration. 970 }, 971 ], 972 "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser. 973 "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field. 974 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. 975 "dimensionName": "A String", # The name of the dimension. 976 "etag": "A String", # The eTag of this response for caching purposes. 977 "id": "A String", # The ID associated with the value if available. 978 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 979 "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. 980 "value": "A String", # The value of the dimension. 981 }, 982 "archived": True or False, # Whether this campaign has been archived. 983 "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. 984 { # Audience Segment Group. 985 "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100. 986 { # Audience Segment. 987 "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. 988 "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field. 989 "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long. 990 }, 991 ], 992 "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field. 993 "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long. 994 }, 995 ], 996 "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. 997 "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign. 998 "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. 999 "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value. 1000 }, 1001 "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long. 1002 "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field. 1003 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 1004 }, 1005 "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign. 1006 "A String", 1007 ], 1008 "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign. 1009 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 1010 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 1011 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 1012 { # Creative optimization activity. 1013 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 1014 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 1015 "dimensionName": "A String", # The name of the dimension. 1016 "etag": "A String", # The eTag of this response for caching purposes. 1017 "id": "A String", # The ID associated with the value if available. 1018 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 1019 "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. 1020 "value": "A String", # The value of the dimension. 1021 }, 1022 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 1023 }, 1024 ], 1025 "optimizationModel": "A String", # Optimization model for this configuration. 1026 }, 1027 "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign. 1028 "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope. 1029 "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value. 1030 }, 1031 "defaultLandingPageId": "A String", # The default landing page ID for this campaign. 1032 "endDate": "A String", 1033 "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags. 1034 { # Event tag override information. 1035 "enabled": True or False, # Whether this override is enabled. 1036 "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field. 1037 }, 1038 ], 1039 "externalId": "A String", # External ID for this campaign. 1040 "id": "A String", # ID of this campaign. This is a read-only auto-generated field. 1041 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field. 1042 "dimensionName": "A String", # The name of the dimension. 1043 "etag": "A String", # The eTag of this response for caching purposes. 1044 "id": "A String", # The ID associated with the value if available. 1045 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 1046 "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. 1047 "value": "A String", # The value of the dimension. 1048 }, 1049 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". 1050 "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field. 1051 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 1052 }, 1053 "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping. 1054 "linkStatus": "A String", # . 1055 "measurementPartner": "A String", # Measurement partner used for tag wrapping. 1056 "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner. 1057 }, 1058 "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. 1059 "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign. 1060 "startDate": "A String", 1061 "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank. 1062 "traffickerEmails": [ # Campaign trafficker contact emails. 1063 "A String", 1064 ], 1065} 1066 1067 x__xgafv: string, V1 error format. 1068 Allowed values 1069 1 - v1 error format 1070 2 - v2 error format 1071 1072Returns: 1073 An object of the form: 1074 1075 { # Contains properties of a Campaign Manager campaign. 1076 "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank. 1077 "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign. 1078 "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. 1079 }, 1080 "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign. 1081 { # Creative optimization settings. 1082 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 1083 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 1084 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 1085 { # Creative optimization activity. 1086 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 1087 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 1088 "dimensionName": "A String", # The name of the dimension. 1089 "etag": "A String", # The eTag of this response for caching purposes. 1090 "id": "A String", # The ID associated with the value if available. 1091 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 1092 "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. 1093 "value": "A String", # The value of the dimension. 1094 }, 1095 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 1096 }, 1097 ], 1098 "optimizationModel": "A String", # Optimization model for this configuration. 1099 }, 1100 ], 1101 "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser. 1102 "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field. 1103 "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. 1104 "dimensionName": "A String", # The name of the dimension. 1105 "etag": "A String", # The eTag of this response for caching purposes. 1106 "id": "A String", # The ID associated with the value if available. 1107 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 1108 "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. 1109 "value": "A String", # The value of the dimension. 1110 }, 1111 "archived": True or False, # Whether this campaign has been archived. 1112 "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. 1113 { # Audience Segment Group. 1114 "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100. 1115 { # Audience Segment. 1116 "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. 1117 "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field. 1118 "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long. 1119 }, 1120 ], 1121 "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field. 1122 "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long. 1123 }, 1124 ], 1125 "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. 1126 "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign. 1127 "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. 1128 "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value. 1129 }, 1130 "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long. 1131 "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field. 1132 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 1133 }, 1134 "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign. 1135 "A String", 1136 ], 1137 "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign. 1138 "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. 1139 "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long. 1140 "optimizationActivitys": [ # List of optimization activities associated with this configuration. 1141 { # Creative optimization activity. 1142 "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field. 1143 "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. 1144 "dimensionName": "A String", # The name of the dimension. 1145 "etag": "A String", # The eTag of this response for caching purposes. 1146 "id": "A String", # The ID associated with the value if available. 1147 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 1148 "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. 1149 "value": "A String", # The value of the dimension. 1150 }, 1151 "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. 1152 }, 1153 ], 1154 "optimizationModel": "A String", # Optimization model for this configuration. 1155 }, 1156 "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign. 1157 "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope. 1158 "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value. 1159 }, 1160 "defaultLandingPageId": "A String", # The default landing page ID for this campaign. 1161 "endDate": "A String", 1162 "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags. 1163 { # Event tag override information. 1164 "enabled": True or False, # Whether this override is enabled. 1165 "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field. 1166 }, 1167 ], 1168 "externalId": "A String", # External ID for this campaign. 1169 "id": "A String", # ID of this campaign. This is a read-only auto-generated field. 1170 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field. 1171 "dimensionName": "A String", # The name of the dimension. 1172 "etag": "A String", # The eTag of this response for caching purposes. 1173 "id": "A String", # The ID associated with the value if available. 1174 "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. 1175 "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. 1176 "value": "A String", # The value of the dimension. 1177 }, 1178 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". 1179 "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field. 1180 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 1181 }, 1182 "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping. 1183 "linkStatus": "A String", # . 1184 "measurementPartner": "A String", # Measurement partner used for tag wrapping. 1185 "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner. 1186 }, 1187 "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. 1188 "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign. 1189 "startDate": "A String", 1190 "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank. 1191 "traffickerEmails": [ # Campaign trafficker contact emails. 1192 "A String", 1193 ], 1194}</pre> 1195</div> 1196 1197</body></html>