Class AccountsResource.AdunitsResource
The "adunits" collection of methods.
public class AccountsResource.AdunitsResource
- Inheritance
-
AccountsResource.AdunitsResource
- Inherited Members
Constructors
AdunitsResource(IClientService)
Constructs a new resource.
public AdunitsResource(IClientService service)
Parameters
service
IClientService
Properties
Customchannels
Gets the Customchannels resource.
public virtual AccountsResource.AdunitsResource.CustomchannelsResource Customchannels { get; }
Property Value
Methods
Get(string, string, string)
Gets the specified ad unit in the specified ad client for the specified account.
public virtual AccountsResource.AdunitsResource.GetRequest Get(string accountId, string adClientId, string adUnitId)
Parameters
accountId
stringAccount to which the ad client belongs.
adClientId
stringAd client for which to get the ad unit.
adUnitId
stringAd unit to retrieve.
Returns
GetAdCode(string, string, string)
Get ad code for the specified ad unit.
public virtual AccountsResource.AdunitsResource.GetAdCodeRequest GetAdCode(string accountId, string adClientId, string adUnitId)
Parameters
accountId
stringAccount which contains the ad client.
adClientId
stringAd client with contains the ad unit.
adUnitId
stringAd unit to get the code for.
Returns
List(string, string)
List all ad units in the specified ad client for the specified account.
public virtual AccountsResource.AdunitsResource.ListRequest List(string accountId, string adClientId)
Parameters
accountId
stringAccount to which the ad client belongs.
adClientId
stringAd client for which to list ad units.