Class AdvertisersResource
The "advertisers" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class AdvertisersResource
Constructors
AdvertisersResource(IClientService)
Constructs a new resource.
Declaration
public AdvertisersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(long, long)
Gets one advertiser by ID.
Declaration
public virtual AdvertisersResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
long | id | Advertiser ID. |
Returns
Type | Description |
---|---|
AdvertisersResource.GetRequest |
Insert(Advertiser, long)
Inserts a new advertiser.
Declaration
public virtual AdvertisersResource.InsertRequest Insert(Advertiser body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
Advertiser | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
AdvertisersResource.InsertRequest |
List(long)
Retrieves a list of advertisers, possibly filtered. This method supports paging.
Declaration
public virtual AdvertisersResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
AdvertisersResource.ListRequest |
Patch(Advertiser, long, long)
Updates an existing advertiser. This method supports patch semantics.
Declaration
public virtual AdvertisersResource.PatchRequest Patch(Advertiser body, long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
Advertiser | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
long | id | Required. Advertiser ID. |
Returns
Type | Description |
---|---|
AdvertisersResource.PatchRequest |
Update(Advertiser, long)
Updates an existing advertiser.
Declaration
public virtual AdvertisersResource.UpdateRequest Update(Advertiser body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
Advertiser | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
AdvertisersResource.UpdateRequest |