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