class AccountsCreativesDealAssociations extends Resource (View source)

The "dealAssociations" collection of methods.

Typical usage is:

 $adexchangebuyer2Service = new Google\Service\AdExchangeBuyerII(...);
 $dealAssociations = $adexchangebuyer2Service->accounts_creatives_dealAssociations;

Methods

add(string $accountId, string $creativeId, AddDealAssociationRequest $postBody, array $optParams = [])

Associate an existing deal with a creative. (dealAssociations.add)

listAccountsCreativesDealAssociations(string $accountId, string $creativeId, array $optParams = [])

List all creative-deal associations.

remove(string $accountId, string $creativeId, RemoveDealAssociationRequest $postBody, array $optParams = [])

Remove the association between a deal and a creative.

Details

Adexchangebuyer2Empty add(string $accountId, string $creativeId, AddDealAssociationRequest $postBody, array $optParams = [])

Associate an existing deal with a creative. (dealAssociations.add)

Parameters

string $accountId

The account the creative belongs to.

string $creativeId

The ID of the creative associated with the deal.

AddDealAssociationRequest $postBody
array $optParams

Optional parameters.

Return Value

Adexchangebuyer2Empty

Exceptions

Exception

ListDealAssociationsResponse listAccountsCreativesDealAssociations(string $accountId, string $creativeId, array $optParams = [])

List all creative-deal associations.

(dealAssociations.listAccountsCreativesDealAssociations)

Parameters

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.

array $optParams

Optional parameters.

Return Value

ListDealAssociationsResponse

Exceptions

Exception

Adexchangebuyer2Empty remove(string $accountId, string $creativeId, RemoveDealAssociationRequest $postBody, array $optParams = [])

Remove the association between a deal and a creative.

(dealAssociations.remove)

Parameters

string $accountId

The account the creative belongs to.

string $creativeId

The ID of the creative associated with the deal.

RemoveDealAssociationRequest $postBody
array $optParams

Optional parameters.

Return Value

Adexchangebuyer2Empty

Exceptions

Exception