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
parent: string, Required. The parent which owns this collection of adapters. Format: accounts/{publisher_id}/adSources/{ad_source_id} (required)
98
+
pageSize: integer, The maximum number of adapters to return. If unspecified or 0, at most 10,000 adapters will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
99
+
pageToken: string, A page token, received from a previous `ListAdapters` call. Provide this to retrieve the subsequent page.
100
+
x__xgafv: string, V1 error format.
101
+
Allowed values
102
+
1 - v1 error format
103
+
2 - v2 error format
104
+
105
+
Returns:
106
+
An object of the form:
107
+
108
+
{ # Response for the ListAdaptersRequest.
109
+
"adapters": [ # The adapter.
110
+
{ # Describes adapters supported by each mediation ad source. Adapters correspond to a specific SDK implementation of the ad source, and are each associated with a single platform and a list of supported ad unit formats. Adapters may also require setting some configurations to perform ad requests. Configurations can be specified in the AdUnitMapping by setting the [ad_unit_configurations](#AdUnitMapping.ad_unit_configurations) key/value pairs. For example, the ad_unit_configurations can be used to pass various IDs to the adapter's third-party SDK.
111
+
"adapterConfigMetadata": [ # Output only. Configuration metadata associated with this adapter.
112
+
{ # Configuration metadata associated with this adapter. They are used to define the ad_unit_configurations associated with AdUnitMappings for the this adapter.
113
+
"adapterConfigMetadataId": "A String", # This is used to fill the key of the [ad_unit_configurations](#AdUnitMapping.ad_unit_configurations).
114
+
"adapterConfigMetadataLabel": "A String", # Name of the adapter configuration metadata.
115
+
"isRequired": True or False, # Whether this metadata is required for configuring the AdUnitMappings.
116
+
},
117
+
],
118
+
"adapterId": "A String", # Output only. ID of this adapter. It is used to set [adapter_id](#AdUnitMapping.adapter_id).
119
+
"formats": [ # Output only. Indicates the formats of the ad units supported by this adapter.
120
+
"A String",
121
+
],
122
+
"name": "A String", # Output only. Resource name of the adapter. Format is: accounts/{publisher_id}/adSources/{ad_source_id}/adapters/{adapter_id}.
123
+
"platform": "A String", # Output only. Mobile application platform supported by this adapter. Supported values are: IOS, ANDROID, WINDOWS_PHONE
124
+
"title": "A String", # Output only. The display name of this adapter.
125
+
},
126
+
],
127
+
"nextPageToken": "A String", # Used to set the `page_token` in the `ListAdapterRequest` to retrieve the next page. If this field is omitted, there are no subsequent pages.
<pre>Batch create the ad unit mappings under the specific AdMob account. The maximum allowed batch size is 100.
87
+
88
+
Args:
89
+
parent: string, Required. The AdMob account which owns this collection of ad unit mappings. Format: accounts/{publisher_id} See https://support.google.com/admob/answer/2784578 for instructions on how to find your AdMob publisher ID. (required)
90
+
body: object, The request body.
91
+
The object takes the form of:
92
+
93
+
{ # Request to create a batch of ad unit mappings under the specific AdMob account.
94
+
"requests": [ # Required. The request message specifying the ad unit mappings to create. A maximum of 100 ad unit mappings can be created in a batch. If the number of ad unit mappings in the batch request exceed 100, the entire request will be rejected and no ad unit mappings will be created.
95
+
{ # Request to create an ad unit mapping under the specific AdMob account and ad unit.
96
+
"adUnitMapping": { # Settings to map an AdMob ad unit to a 3rd party ad unit. # Required. The ad unit mapping to create.
97
+
"adUnitConfigurations": { # 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.
98
+
"a_key": "A String",
99
+
},
100
+
"adapterId": "A String", # The ID of mediation ad source adapter used by this ad unit mapping. The adapter determines the information needed in the ad_network_settings.
101
+
"displayName": "A String", # Optional. The display name of this ad unit mapping instance.
102
+
"name": "A String", # 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
103
+
"state": "A String", # Output only. The status of this ad unit mapping.
104
+
},
105
+
"parent": "A String", # Required. The parent which owns the ad unit mapping. Format: accounts/{publisher_id}/adUnits/{ad_unit_id}
106
+
},
107
+
],
108
+
}
109
+
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
+
{ # Response containing a batch of created ad unit mappings.
119
+
"adUnitMappings": [ # The Ad units mappings created under the requested account.
120
+
{ # Settings to map an AdMob ad unit to a 3rd party ad unit.
121
+
"adUnitConfigurations": { # 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.
122
+
"a_key": "A String",
123
+
},
124
+
"adapterId": "A String", # The ID of mediation ad source adapter used by this ad unit mapping. The adapter determines the information needed in the ad_network_settings.
125
+
"displayName": "A String", # Optional. The display name of this ad unit mapping instance.
126
+
"name": "A String", # 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
127
+
"state": "A String", # Output only. The status of this ad unit mapping.
0 commit comments