Class AccountsResource.CreativesResource.DealAssociationsResource
The "dealAssociations" collection of methods.
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.CreativesResource.DealAssociationsResource
Constructors
DealAssociationsResource(IClientService)
Constructs a new resource.
Declaration
public DealAssociationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Add(AddDealAssociationRequest, string, string)
Associate an existing deal with a creative.
Declaration
public virtual AccountsResource.CreativesResource.DealAssociationsResource.AddRequest Add(AddDealAssociationRequest body, string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
AddDealAssociationRequest | body | The body of the request. |
string | accountId | The account the creative belongs to. |
string | creativeId | The ID of the creative associated with the deal. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.DealAssociationsResource.AddRequest |
List(string, string)
List all creative-deal associations.
Declaration
public virtual AccountsResource.CreativesResource.DealAssociationsResource.ListRequest List(string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The account to list the associations from. Specify "-" to list all creatives the current user has access to. |
string | creativeId | The creative ID to list the associations from. Specify "-" to list all creatives under the above account. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.DealAssociationsResource.ListRequest |
Remove(RemoveDealAssociationRequest, string, string)
Remove the association between a deal and a creative.
Declaration
public virtual AccountsResource.CreativesResource.DealAssociationsResource.RemoveRequest Remove(RemoveDealAssociationRequest body, string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
RemoveDealAssociationRequest | body | The body of the request. |
string | accountId | The account the creative belongs to. |
string | creativeId | The ID of the creative associated with the deal. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.DealAssociationsResource.RemoveRequest |