Class AdunitsResource.GetAdCodeRequest
Get ad code for the specified ad unit.
public class AdunitsResource.GetAdCodeRequest : AdSenseBaseServiceRequest<AdCode>
- Inheritance
-
AdunitsResource.GetAdCodeRequest
- Inherited Members
Constructors
GetAdCodeRequest(IClientService, string, string)
Constructs a new GetAdCode request.
public GetAdCodeRequest(IClientService service, string adClientId, string adUnitId)
Parameters
Properties
AdClientId
Ad client with contains the ad unit.
public virtual string AdClientId { get; }
Property Value
AdUnitId
Ad unit to get the code for.
public virtual string AdUnitId { get; }
Property Value
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
Methods
InitParameters()
Initializes GetAdCode parameter list.
protected override void InitParameters()