Debian Codegraph @

docs/dyn/admob_v1beta.accounts.adUnits.adUnitMappings.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.adUnits.html">adUnits</a> . <a href="admob_v1beta.accounts.adUnits.adUnitMappings.html">adUnitMappings</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="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create an ad unit mapping under the specific AdMob account and ad unit. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.</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 ad unit mappings under the specified AdMob account and ad unit. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.</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="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
97 <pre>Create an ad unit mapping under the specific AdMob account and ad unit. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.
98
99 Args:
100 parent: string, Required. The parent which owns the ad unit mapping. Format: accounts/{publisher_id}/adUnits/{ad_unit_id} (required)
101 body: object, The request body.
102 The object takes the form of:
103
104 { # Settings to map an AdMob ad unit to a 3rd party ad unit.
105 &quot;adUnitConfigurations&quot;: { # Settings for the specified ad unit to make an ad request to 3rd party ad network. Key-value pairs with values set by the user for the keys requested by the ad network. Please see https://support.google.com/admob/answer/3245073 for details on how to configure the network settings.
106 &quot;a_key&quot;: &quot;A String&quot;,
107 },
108 &quot;adapterId&quot;: &quot;A String&quot;, # The ID of mediation ad source adapter used by this ad unit mapping. The adapter determines the information needed in the ad_network_settings.
109 &quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of this ad unit mapping instance.
110 &quot;name&quot;: &quot;A String&quot;, # Resource name of this ad unit mapping. Format is: accounts/{publisher_id}/adUnits/{ad_unit_id_fragment}/adUnitMappings/{ad_unit_mapping_id} Example: accounts/pub-1234567890123456/adUnits/0123456789/adUnitMappings/987654321
111 &quot;state&quot;: &quot;A String&quot;, # Output only. The status of this ad unit mapping.
112 }
113
114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119 Returns:
120 An object of the form:
121
122 { # Settings to map an AdMob ad unit to a 3rd party ad unit.
123 &quot;adUnitConfigurations&quot;: { # Settings for the specified ad unit to make an ad request to 3rd party ad network. Key-value pairs with values set by the user for the keys requested by the ad network. Please see https://support.google.com/admob/answer/3245073 for details on how to configure the network settings.
124 &quot;a_key&quot;: &quot;A String&quot;,
125 },
126 &quot;adapterId&quot;: &quot;A String&quot;, # The ID of mediation ad source adapter used by this ad unit mapping. The adapter determines the information needed in the ad_network_settings.
127 &quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of this ad unit mapping instance.
128 &quot;name&quot;: &quot;A String&quot;, # Resource name of this ad unit mapping. Format is: accounts/{publisher_id}/adUnits/{ad_unit_id_fragment}/adUnitMappings/{ad_unit_mapping_id} Example: accounts/pub-1234567890123456/adUnits/0123456789/adUnitMappings/987654321
129 &quot;state&quot;: &quot;A String&quot;, # Output only. The status of this ad unit mapping.
130 }</pre>
131 </div>
132
133 <div class="method">
134 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
135 <pre>List ad unit mappings under the specified AdMob account and ad unit. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.
136
137 Args:
138 parent: string, Required. The parent which owns this collection of ad unit mappings. Format: accounts/{publisher_id}/adUnits/{ad_unit_id} (required)
139 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;DISPLAY_NAME&quot; Possible filter function is: - `IN`: Used to filter fields that represent a singleton including &quot;DISPLAY_NAME&quot;. The filter functions can be added together using `AND`. `OR` functionality is not supported. Example: filter: IN(DISPLAY_NAME, &quot;Test Ad Unit Mapping 1&quot;, &quot;Test Ad Unit Mapping 2&quot;)
140 pageSize: integer, The maximum number of ad unit mappings to return. If unspecified or 0, at most 10,000 ad unit mappings will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
141 pageToken: string, A page token, received from a previous `ListAdUnitMappings` call. Provide this to retrieve the subsequent page.
142 x__xgafv: string, V1 error format.
143 Allowed values
144 1 - v1 error format
145 2 - v2 error format
146
147 Returns:
148 An object of the form:
149
150 { # Response for the ListAdUnitMappingsRequest.
151 &quot;adUnitMappings&quot;: [ # The ad unit mappings from the specified account and ad unit.
152 { # Settings to map an AdMob ad unit to a 3rd party ad unit.
153 &quot;adUnitConfigurations&quot;: { # Settings for the specified ad unit to make an ad request to 3rd party ad network. Key-value pairs with values set by the user for the keys requested by the ad network. Please see https://support.google.com/admob/answer/3245073 for details on how to configure the network settings.
154 &quot;a_key&quot;: &quot;A String&quot;,
155 },
156 &quot;adapterId&quot;: &quot;A String&quot;, # The ID of mediation ad source adapter used by this ad unit mapping. The adapter determines the information needed in the ad_network_settings.
157 &quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of this ad unit mapping instance.
158 &quot;name&quot;: &quot;A String&quot;, # Resource name of this ad unit mapping. Format is: accounts/{publisher_id}/adUnits/{ad_unit_id_fragment}/adUnitMappings/{ad_unit_mapping_id} Example: accounts/pub-1234567890123456/adUnits/0123456789/adUnitMappings/987654321
159 &quot;state&quot;: &quot;A String&quot;, # Output only. The status of this ad unit mapping.
160 },
161 ],
162 &quot;nextPageToken&quot;: &quot;A String&quot;, # Used to set the `page_token` in the `ListAdUnitMappingsRequest` to retrieve the next page. If this field is omitted, there are no subsequent pages.
163 }</pre>
164 </div>
165
166 <div class="method">
167 <code class="details" id="list_next">list_next()</code>
168 <pre>Retrieves the next page of results.
169
170 Args:
171 previous_request: The request for the previous page. (required)
172 previous_response: The response from the request for the previous page. (required)
173
174 Returns:
175 A request object that you can call &#x27;execute()&#x27; on to request the next
176 page. Returns None if there are no more items in the collection.
177 </pre>
178 </div>
179
180 </body></html>