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