You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Gets an ad unit from a specified account and ad client.
107
+
108
+
Args:
109
+
name: string, Required. AdUnit to get information about. Format: accounts/{account_id}/adclient/{adclient_id}/adunit/{adunit_id} (required)
110
+
x__xgafv: string, V1 error format.
111
+
Allowed values
112
+
1 - v1 error format
113
+
2 - v2 error format
114
+
115
+
Returns:
116
+
An object of the form:
117
+
118
+
{ # Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.
119
+
"contentAdsSettings": { # Settings specific to content ads (AFC). # Settings specific to content ads (AFC).
120
+
"size": "A String", # Size of the ad unit. e.g. "728x90", "1x3" (for responsive ad units).
121
+
"type": "A String", # Type of the ad unit.
122
+
},
123
+
"displayName": "A String", # Display name of the ad unit, as provided when the ad unit was created.
124
+
"name": "A String", # Resource name of the ad unit. Format: accounts/{account}/adclient/{adclient}/adunits/{adunit}
125
+
"reportingDimensionId": "A String", # Output only. Unique ID of the ad unit as used in the `AD_UNIT_ID` reporting dimension.
126
+
"state": "A String", # State of the ad unit.
<pre>Lists all ad units under a specified account and ad client.
152
+
153
+
Args:
154
+
parent: string, Required. The ad client which owns the collection of ad units. Format: accounts/{account}/adclients/{adclient} (required)
155
+
pageSize: integer, The maximum number of ad units to include in the response, used for paging. If unspecified, at most 10000 ad units will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
156
+
pageToken: string, A page token, received from a previous `ListAdUnits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAdUnits` must match the call that provided the page token.
157
+
x__xgafv: string, V1 error format.
158
+
Allowed values
159
+
1 - v1 error format
160
+
2 - v2 error format
161
+
162
+
Returns:
163
+
An object of the form:
164
+
165
+
{ # Response definition for the adunit list rpc.
166
+
"adUnits": [ # The ad units returned in the list response.
167
+
{ # Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.
168
+
"contentAdsSettings": { # Settings specific to content ads (AFC). # Settings specific to content ads (AFC).
169
+
"size": "A String", # Size of the ad unit. e.g. "728x90", "1x3" (for responsive ad units).
170
+
"type": "A String", # Type of the ad unit.
171
+
},
172
+
"displayName": "A String", # Display name of the ad unit, as provided when the ad unit was created.
173
+
"name": "A String", # Resource name of the ad unit. Format: accounts/{account}/adclient/{adclient}/adunits/{adunit}
174
+
"reportingDimensionId": "A String", # Output only. Unique ID of the ad unit as used in the `AD_UNIT_ID` reporting dimension.
175
+
"state": "A String", # State of the ad unit.
176
+
},
177
+
],
178
+
"nextPageToken": "A String", # Continuation token used to page through ad units. To retrieve the next page of the results, set the next request's "page_token" value to this.
<pre>Lists all the custom channels available for an ad unit.
185
+
186
+
Args:
187
+
parent: string, Required. The ad unit which owns the collection of custom channels. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit} (required)
188
+
pageSize: integer, The maximum number of custom channels to include in the response, used for paging. If unspecified, at most 10000 custom channels will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
189
+
pageToken: string, A page token, received from a previous `ListLinkedCustomChannels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLinkedCustomChannels` must match the call that provided the page token.
190
+
x__xgafv: string, V1 error format.
191
+
Allowed values
192
+
1 - v1 error format
193
+
2 - v2 error format
194
+
195
+
Returns:
196
+
An object of the form:
197
+
198
+
{ # Response definition for the custom channels linked to an adunit list rpc.
199
+
"customChannels": [ # The custom channels returned in this list response.
200
+
{ # Representation of a custom channel.
201
+
"displayName": "A String", # Display name of the custom channel.
202
+
"name": "A String", # Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
203
+
"reportingDimensionId": "A String", # Output only. Unique ID of the custom channel as used in the `CUSTOM_CHANNEL_ID` reporting dimension.
204
+
},
205
+
],
206
+
"nextPageToken": "A String", # Continuation token used to page through alerts. To retrieve the next page of the results, set the next request's "page_token" value to this.
0 commit comments