blob: 495520406db5952d6f72e88554d1c183330b9bcf [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<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
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070075<h1><a href="dfareporting_v3_3.html">Campaign Manager 360 API</a> . <a href="dfareporting_v3_3.advertiserGroups.html">advertiserGroups</a></h1>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(profileId, id, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Deletes an existing advertiser group.</p>
83<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070084 <code><a href="#get">get(profileId, id, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070085<p class="firstline">Gets one advertiser group by ID.</p>
86<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Inserts a new advertiser group.</p>
89<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080090 <code><a href="#list">list(profileId, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="firstline">Retrieves a list of advertiser groups, possibly filtered. This method supports paging.</p>
92<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070096 <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070097<p class="firstline">Updates an existing advertiser group. This method supports patch semantics.</p>
98<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100<p class="firstline">Updates an existing advertiser group.</p>
101<h3>Method Details</h3>
102<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105</div>
106
107<div class="method">
108 <code class="details" id="delete">delete(profileId, id, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700109 <pre>Deletes an existing advertiser group.
110
111Args:
112 profileId: string, User profile ID associated with this request. (required)
113 id: string, Advertiser group ID. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700118</pre>
119</div>
120
121<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700122 <code class="details" id="get">get(profileId, id, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700123 <pre>Gets one advertiser group by ID.
124
125Args:
126 profileId: string, User profile ID associated with this request. (required)
127 id: string, Advertiser group ID. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700128 x__xgafv: string, V1 error format.
129 Allowed values
130 1 - v1 error format
131 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700132
133Returns:
134 An object of the form:
135
136 { # Groups advertisers together so that reports can be generated for the entire group at once.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800137 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this advertiser group. This is a read-only field that can be left blank.
138 &quot;id&quot;: &quot;A String&quot;, # ID of this advertiser group. This is a read-only, auto-generated field.
139 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroup&quot;.
140 &quot;name&quot;: &quot;A String&quot;, # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
141}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700142</div>
143
144<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700145 <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700146 <pre>Inserts a new advertiser group.
147
148Args:
149 profileId: string, User profile ID associated with this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700150 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700151 The object takes the form of:
152
153{ # Groups advertisers together so that reports can be generated for the entire group at once.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800154 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this advertiser group. This is a read-only field that can be left blank.
155 &quot;id&quot;: &quot;A String&quot;, # ID of this advertiser group. This is a read-only, auto-generated field.
156 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroup&quot;.
157 &quot;name&quot;: &quot;A String&quot;, # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
158}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700159
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700160 x__xgafv: string, V1 error format.
161 Allowed values
162 1 - v1 error format
163 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700164
165Returns:
166 An object of the form:
167
168 { # Groups advertisers together so that reports can be generated for the entire group at once.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800169 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this advertiser group. This is a read-only field that can be left blank.
170 &quot;id&quot;: &quot;A String&quot;, # ID of this advertiser group. This is a read-only, auto-generated field.
171 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroup&quot;.
172 &quot;name&quot;: &quot;A String&quot;, # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
173}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700174</div>
175
176<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800177 <code class="details" id="list">list(profileId, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700178 <pre>Retrieves a list of advertiser groups, possibly filtered. This method supports paging.
179
180Args:
181 profileId: string, User profile ID associated with this request. (required)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800182 ids: string, Select only advertiser groups with these IDs. (repeated)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800183 maxResults: integer, Maximum number of results to return.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800184 pageToken: string, Value of the nextPageToken from the previous result page.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800185 searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, &quot;advertiser*2015&quot; will return objects with names like &quot;advertiser group June 2015&quot;, &quot;advertiser group April 2015&quot;, or simply &quot;advertiser group 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;advertisergroup&quot; will match objects with name &quot;my advertisergroup&quot;, &quot;advertisergroup 2015&quot;, or simply &quot;advertisergroup&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700186 sortField: string, Field by which to sort the list.
187 Allowed values
188 ID -
189 NAME -
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800190 sortOrder: string, Order of sorted results.
191 Allowed values
192 ASCENDING -
193 DESCENDING -
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700194 x__xgafv: string, V1 error format.
195 Allowed values
196 1 - v1 error format
197 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700198
199Returns:
200 An object of the form:
201
202 { # Advertiser Group List Response
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800203 &quot;advertiserGroups&quot;: [ # Advertiser group collection.
204 { # Groups advertisers together so that reports can be generated for the entire group at once.
205 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this advertiser group. This is a read-only field that can be left blank.
206 &quot;id&quot;: &quot;A String&quot;, # ID of this advertiser group. This is a read-only, auto-generated field.
207 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroup&quot;.
208 &quot;name&quot;: &quot;A String&quot;, # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
209 },
210 ],
211 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroupsListResponse&quot;.
212 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be used for the next list operation.
213}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700214</div>
215
216<div class="method">
217 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
218 <pre>Retrieves the next page of results.
219
220Args:
221 previous_request: The request for the previous page. (required)
222 previous_response: The response from the request for the previous page. (required)
223
224Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700225 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700226 page. Returns None if there are no more items in the collection.
227 </pre>
228</div>
229
230<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700231 <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700232 <pre>Updates an existing advertiser group. This method supports patch semantics.
233
234Args:
235 profileId: string, User profile ID associated with this request. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700236 id: string, AdvertiserGroup ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700237 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700238 The object takes the form of:
239
240{ # Groups advertisers together so that reports can be generated for the entire group at once.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800241 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this advertiser group. This is a read-only field that can be left blank.
242 &quot;id&quot;: &quot;A String&quot;, # ID of this advertiser group. This is a read-only, auto-generated field.
243 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroup&quot;.
244 &quot;name&quot;: &quot;A String&quot;, # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
245}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700246
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700247 x__xgafv: string, V1 error format.
248 Allowed values
249 1 - v1 error format
250 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700251
252Returns:
253 An object of the form:
254
255 { # Groups advertisers together so that reports can be generated for the entire group at once.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800256 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this advertiser group. This is a read-only field that can be left blank.
257 &quot;id&quot;: &quot;A String&quot;, # ID of this advertiser group. This is a read-only, auto-generated field.
258 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroup&quot;.
259 &quot;name&quot;: &quot;A String&quot;, # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
260}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700261</div>
262
263<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700264 <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700265 <pre>Updates an existing advertiser group.
266
267Args:
268 profileId: string, User profile ID associated with this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700269 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700270 The object takes the form of:
271
272{ # Groups advertisers together so that reports can be generated for the entire group at once.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800273 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this advertiser group. This is a read-only field that can be left blank.
274 &quot;id&quot;: &quot;A String&quot;, # ID of this advertiser group. This is a read-only, auto-generated field.
275 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroup&quot;.
276 &quot;name&quot;: &quot;A String&quot;, # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
277}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700278
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700279 x__xgafv: string, V1 error format.
280 Allowed values
281 1 - v1 error format
282 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700283
284Returns:
285 An object of the form:
286
287 { # Groups advertisers together so that reports can be generated for the entire group at once.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800288 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this advertiser group. This is a read-only field that can be left blank.
289 &quot;id&quot;: &quot;A String&quot;, # ID of this advertiser group. This is a read-only, auto-generated field.
290 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserGroup&quot;.
291 &quot;name&quot;: &quot;A String&quot;, # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
292}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700293</div>
294
295</body></html>