Class AccountsResource.AdclientsResource.AdunitsResource.GetAdcodeRequest
Gets the AdSense code for a given ad unit.
Inheritance
System.Object
AccountsResource.AdclientsResource.AdunitsResource.GetAdcodeRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class GetAdcodeRequest : AdsenseBaseServiceRequest<AdUnitAdCode>, IClientServiceRequest<AdUnitAdCode>, IClientServiceRequest
Constructors
GetAdcodeRequest(IClientService, String)
Constructs a new GetAdcode request.
Declaration
public GetAdcodeRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.AdUnitAdCode>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.AdUnitAdCode>.MethodName
Name
Required. Name of the adunit for which to get the adcode. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.AdUnitAdCode>.RestPath
Methods
InitParameters()
Initializes GetAdcode parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Adsense.v2.AdsenseBaseServiceRequest<Google.Apis.Adsense.v2.Data.AdUnitAdCode>.InitParameters()