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