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