Class AccountsResource.AdUnitMappingsResource.BatchCreateRequest
Batch create the ad unit mappings under the specific AdMob account. The maximum allowed batch size is 100. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.
Inheritance
AccountsResource.AdUnitMappingsResource.BatchCreateRequest
Inherited Members
Namespace: Google.Apis.AdMob.v1beta
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class AccountsResource.AdUnitMappingsResource.BatchCreateRequest : AdMobBaseServiceRequest<BatchCreateAdUnitMappingsResponse>, IClientServiceRequest<BatchCreateAdUnitMappingsResponse>, IClientServiceRequest
Constructors
BatchCreateRequest(IClientService, BatchCreateAdUnitMappingsRequest, string)
Constructs a new BatchCreate request.
Declaration
public BatchCreateRequest(IClientService service, BatchCreateAdUnitMappingsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchCreateAdUnitMappingsRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdMob.v1beta.Data.BatchCreateAdUnitMappingsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdMob.v1beta.Data.BatchCreateAdUnitMappingsResponse>.MethodName
Parent
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.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdMob.v1beta.Data.BatchCreateAdUnitMappingsResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdMob.v1beta.Data.BatchCreateAdUnitMappingsResponse>.GetBody()
InitParameters()
Initializes BatchCreate parameter list.
Declaration
protected override void InitParameters()