Class CreativesResource
The "creatives" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.AdExchangeBuyer.v1_4
Assembly: Google.Apis.AdExchangeBuyer.v1_4.dll
Syntax
public class CreativesResource
Constructors
CreativesResource(IClientService)
Constructs a new resource.
Declaration
public CreativesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
AddDeal(Int32, String, Int64)
Add a deal id association for the creative.
Declaration
public virtual CreativesResource.AddDealRequest AddDeal(int accountId, string buyerCreativeId, long dealId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | accountId | The id for the account that will serve this creative. |
System.String | buyerCreativeId | The buyer-specific id for this creative. |
System.Int64 | dealId | The id of the deal id to associate with this creative. |
Returns
Type | Description |
---|---|
CreativesResource.AddDealRequest |
Get(Int32, String)
Gets the status for a single creative. A creative will be available 30-40 minutes after submission.
Declaration
public virtual CreativesResource.GetRequest Get(int accountId, string buyerCreativeId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | accountId | The id for the account that will serve this creative. |
System.String | buyerCreativeId | The buyer-specific id for this creative. |
Returns
Type | Description |
---|---|
CreativesResource.GetRequest |
Insert(Creative)
Submit a new creative.
Declaration
public virtual CreativesResource.InsertRequest Insert(Creative body)
Parameters
Type | Name | Description |
---|---|---|
Creative | body | The body of the request. |
Returns
Type | Description |
---|---|
CreativesResource.InsertRequest |
List()
Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.
Declaration
public virtual CreativesResource.ListRequest List()
Returns
Type | Description |
---|---|
CreativesResource.ListRequest |
ListDeals(Int32, String)
Lists the external deal ids associated with the creative.
Declaration
public virtual CreativesResource.ListDealsRequest ListDeals(int accountId, string buyerCreativeId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | accountId | The id for the account that will serve this creative. |
System.String | buyerCreativeId | The buyer-specific id for this creative. |
Returns
Type | Description |
---|---|
CreativesResource.ListDealsRequest |
RemoveDeal(Int32, String, Int64)
Remove a deal id associated with the creative.
Declaration
public virtual CreativesResource.RemoveDealRequest RemoveDeal(int accountId, string buyerCreativeId, long dealId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | accountId | The id for the account that will serve this creative. |
System.String | buyerCreativeId | The buyer-specific id for this creative. |
System.Int64 | dealId | The id of the deal id to disassociate with this creative. |
Returns
Type | Description |
---|---|
CreativesResource.RemoveDealRequest |