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