Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List the adapters of the ad source.
Retrieves the next page of results.
close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List the adapters of the ad source.
Args:
parent: string, Required. The parent which owns this collection of adapters. Format: accounts/{publisher_id}/adSources/{ad_source_id} (required)
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.
pageToken: string, A page token, received from a previous `ListAdapters` call. Provide this to retrieve the subsequent page.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for the ListAdaptersRequest.
"adapters": [ # The adapter.
{ # 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.
"adapterConfigMetadata": [ # Output only. Configuration metadata associated with this adapter.
{ # Configuration metadata associated with this adapter. They are used to define the ad_unit_configurations associated with AdUnitMappings for the this adapter.
"adapterConfigMetadataId": "A String", # This is used to fill the key of the [ad_unit_configurations](#AdUnitMapping.ad_unit_configurations).
"adapterConfigMetadataLabel": "A String", # Name of the adapter configuration metadata.
"isRequired": True or False, # Whether this metadata is required for configuring the AdUnitMappings.
},
],
"adapterId": "A String", # Output only. ID of this adapter. It is used to set [adapter_id](#AdUnitMapping.adapter_id).
"formats": [ # Output only. Indicates the formats of the ad units supported by this adapter.
"A String",
],
"name": "A String", # Output only. Resource name of the adapter. Format is: accounts/{publisher_id}/adSources/{ad_source_id}/adapters/{adapter_id}.
"platform": "A String", # Output only. Mobile application platform supported by this adapter. Supported values are: IOS, ANDROID, WINDOWS_PHONE
"title": "A String", # Output only. The display name of this adapter.
},
],
"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.
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.