Debian Codegraph @

docs/dyn/admob_v1beta.accounts.campaigns.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="admob_v1beta.html">AdMob API</a> . <a href="admob_v1beta.accounts.html">accounts</a> . <a href="admob_v1beta.accounts.campaigns.html">campaigns</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Batch update operation for campaigns under the specified AdMob publisher.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">List the campaigns under the specified AdMob account.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</code>
92 <pre>Batch update operation for campaigns under the specified AdMob publisher.
93
94 Args:
95 parent: string, Required. Resource name of the account to list campaigns for. The `parent` field in the individual UpdateCampaignRequest messages should match the value set here. Example: accounts/pub-9876543210987654 (required)
96 body: object, The request body.
97 The object takes the form of:
98
99 { # The request for the BatchUpdateCampaigns API.
100 &quot;requests&quot;: [ # Required. The individual requests to update campaigns. Max 1000 allowed.
101 { # An update request for a singular campaign. Currently only cpi_micros of MAX_CPI and TARGET_CPI campaigns can be updated.
102 &quot;campaign&quot;: { # Describes an AdMob campaign. # Required. The campaign which is being updated.
103 &quot;cpiSetting&quot;: { # CPI setting for AdMob campaign. Ignored unless campaign goal type is MAX_CPI or TARGET_CPI. # The CPI setting of the campaign.
104 &quot;cpiMicros&quot;: &quot;A String&quot;, # Cost-per-install for this campaign in micro units in the currency of the GoogleAds account linked to this AdMob publisher.
105 },
106 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name for the campaign.
107 &quot;goalType&quot;: &quot;A String&quot;, # Output only. The Goal type of the campaign.
108 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name for this campaign. Format is: accounts/{publisher_id}/campaigns/{campaign_id} Example: accounts/pub-9876543210987654/campaigns/0123456789
109 },
110 &quot;updateMask&quot;: &quot;A String&quot;, # List of campaign fields to be updated. Currently this field is not supported as only the cpi_micros field can be updated.
111 },
112 ],
113 }
114
115 x__xgafv: string, V1 error format.
116 Allowed values
117 1 - v1 error format
118 2 - v2 error format
119
120 Returns:
121 An object of the form:
122
123 { # The response for the BatchUpdateCampaigns API.
124 &quot;campaigns&quot;: [ # The updated campaigns per the request.
125 { # Describes an AdMob campaign.
126 &quot;cpiSetting&quot;: { # CPI setting for AdMob campaign. Ignored unless campaign goal type is MAX_CPI or TARGET_CPI. # The CPI setting of the campaign.
127 &quot;cpiMicros&quot;: &quot;A String&quot;, # Cost-per-install for this campaign in micro units in the currency of the GoogleAds account linked to this AdMob publisher.
128 },
129 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name for the campaign.
130 &quot;goalType&quot;: &quot;A String&quot;, # Output only. The Goal type of the campaign.
131 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name for this campaign. Format is: accounts/{publisher_id}/campaigns/{campaign_id} Example: accounts/pub-9876543210987654/campaigns/0123456789
132 },
133 ],
134 }</pre>
135 </div>
136
137 <div class="method">
138 <code class="details" id="close">close()</code>
139 <pre>Close httplib2 connections.</pre>
140 </div>
141
142 <div class="method">
143 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
144 <pre>List the campaigns under the specified AdMob account.
145
146 Args:
147 parent: string, Required. Resource name of the account to list campaigns for. Example: accounts/pub-9876543210987654 (required)
148 filter: string, The filter string that uses [EBNF grammar syntax](https://google.aip.dev/assets/misc/ebnf-filtering.txt). Possible field to filter by is: - &quot;CAMPAIGN_GOAL_TYPE&quot; Possible filter function is: - `IN`: Used to filter fields that represent a singleton including &quot;CAMPAIGN_GOAL_TYPE&quot;. The filter functions can be added together using `AND`. `OR` functionality is not supported. Example: filter: IN(CAMPAIGN_GOAL_TYPE, &quot;NUMBER_OF_CLICKS&quot;, &quot;MEDIATED_ADS&quot;)
149 pageSize: integer, The maximum number of campaigns to return.
150 pageToken: string, The value returned by the last `ListCampaignsResponse`; indicates that this is a continuation of a prior `ListGoogleBiddingAdUnits` call, and that the system should return the next page of data.
151 x__xgafv: string, V1 error format.
152 Allowed values
153 1 - v1 error format
154 2 - v2 error format
155
156 Returns:
157 An object of the form:
158
159 { # Response for the ListCampaignsRequest.
160 &quot;campaigns&quot;: [ # The resulting mediation groups for the requested account.
161 { # Describes an AdMob campaign.
162 &quot;cpiSetting&quot;: { # CPI setting for AdMob campaign. Ignored unless campaign goal type is MAX_CPI or TARGET_CPI. # The CPI setting of the campaign.
163 &quot;cpiMicros&quot;: &quot;A String&quot;, # Cost-per-install for this campaign in micro units in the currency of the GoogleAds account linked to this AdMob publisher.
164 },
165 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name for the campaign.
166 &quot;goalType&quot;: &quot;A String&quot;, # Output only. The Goal type of the campaign.
167 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name for this campaign. Format is: accounts/{publisher_id}/campaigns/{campaign_id} Example: accounts/pub-9876543210987654/campaigns/0123456789
168 },
169 ],
170 &quot;nextPageToken&quot;: &quot;A String&quot;, # Used to set the `page_token` in the `ListCampaignsRequest` to retrieve the next page. If this field is omitted, there are no subsequent pages.
171 }</pre>
172 </div>
173
174 <div class="method">
175 <code class="details" id="list_next">list_next()</code>
176 <pre>Retrieves the next page of results.
177
178 Args:
179 previous_request: The request for the previous page. (required)
180 previous_response: The response from the request for the previous page. (required)
181
182 Returns:
183 A request object that you can call &#x27;execute()&#x27; on to request the next
184 page. Returns None if there are no more items in the collection.
185 </pre>
186 </div>
187
188 </body></html>