class Creatives extends Resource (View source)

The "creatives" collection of methods.

Typical usage is:

 $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
 $creatives = $adexchangebuyerService->creatives;

Methods

addDeal(int $accountId, string $buyerCreativeId, string $dealId, array $optParams = [])

Add a deal id association for the creative. (creatives.addDeal)

get(int $accountId, string $buyerCreativeId, array $optParams = [])

Gets the status for a single creative. A creative will be available 30-40 minutes after submission. (creatives.get)

insert(Creative $postBody, array $optParams = [])

Submit a new creative. (creatives.insert)

listCreatives(array $optParams = [])

Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission. (creatives.listCreatives)

listDeals(int $accountId, string $buyerCreativeId, array $optParams = [])

Lists the external deal ids associated with the creative.

removeDeal(int $accountId, string $buyerCreativeId, string $dealId, array $optParams = [])

Remove a deal id associated with the creative. (creatives.removeDeal)

Details

addDeal(int $accountId, string $buyerCreativeId, string $dealId, array $optParams = [])

Add a deal id association for the creative. (creatives.addDeal)

Parameters

int $accountId

The id for the account that will serve this creative.

string $buyerCreativeId

The buyer-specific id for this creative.

string $dealId

The id of the deal id to associate with this creative.

array $optParams

Optional parameters.

Creative get(int $accountId, string $buyerCreativeId, array $optParams = [])

Gets the status for a single creative. A creative will be available 30-40 minutes after submission. (creatives.get)

Parameters

int $accountId

The id for the account that will serve this creative.

string $buyerCreativeId

The buyer-specific id for this creative.

array $optParams

Optional parameters.

Return Value

Creative

Creative insert(Creative $postBody, array $optParams = [])

Submit a new creative. (creatives.insert)

Parameters

Creative $postBody
array $optParams

Optional parameters.

Return Value

Creative

CreativesList listCreatives(array $optParams = [])

Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission. (creatives.listCreatives)

Parameters

array $optParams

Optional parameters.

Return Value

CreativesList

CreativeDealIds listDeals(int $accountId, string $buyerCreativeId, array $optParams = [])

Lists the external deal ids associated with the creative.

(creatives.listDeals)

Parameters

int $accountId

The id for the account that will serve this creative.

string $buyerCreativeId

The buyer-specific id for this creative.

array $optParams

Optional parameters.

Return Value

CreativeDealIds

removeDeal(int $accountId, string $buyerCreativeId, string $dealId, array $optParams = [])

Remove a deal id associated with the creative. (creatives.removeDeal)

Parameters

int $accountId

The id for the account that will serve this creative.

string $buyerCreativeId

The buyer-specific id for this creative.

string $dealId

The id of the deal id to disassociate with this creative.

array $optParams

Optional parameters.