Class AccountsResource.AppsResource.CreateRequest
Creates an app under the specified AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.
Inheritance
AccountsResource.AppsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.AdMob.v1beta
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class AccountsResource.AppsResource.CreateRequest : AdMobBaseServiceRequest<App>, IClientServiceRequest<App>, IClientServiceRequest
Constructors
CreateRequest(IClientService, App, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, App body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
App | 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.App>.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.App>.MethodName
Parent
Required. Resource name of the account for which the app is being created. Example: accounts/pub-9876543210987654
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.App>.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.App>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()