AdvertisersCreatives
class AdvertisersCreatives extends Resource (View source)
The "creatives" collection of methods.
Typical usage is:
$displayvideoService = new Google\Service\DisplayVideo(...);
$creatives = $displayvideoService->advertisers_creatives;
Methods
Creates a new creative. Returns the newly created creative if successful. A "Standard" user role or greater for the parent advertiser or partner is required to make this request. (creatives.create)
Deletes a creative. Returns error code NOT_FOUND
if the creative does not
exist. The creative should be archived first, i.e. set entity_status to
ENTITY_STATUS_ARCHIVED
, before it can be deleted. A "Standard" user
role or greater for the
parent advertiser or partner is required to make this request.
Gets a creative. (creatives.get)
Lists creatives in an advertiser. The order is defined by the order_by
parameter. If a filter by entity_status is not specified, creatives with
ENTITY_STATUS_ARCHIVED
will not be included in the results.
Updates an existing creative. Returns the updated creative if successful. A "Standard" user role or greater for the parent advertiser or partner is required to make this request. (creatives.patch)
Details
Creative
create(string $advertiserId, Creative $postBody, array $optParams = [])
Creates a new creative. Returns the newly created creative if successful. A "Standard" user role or greater for the parent advertiser or partner is required to make this request. (creatives.create)
DisplayvideoEmpty
delete(string $advertiserId, string $creativeId, array $optParams = [])
Deletes a creative. Returns error code NOT_FOUND
if the creative does not
exist. The creative should be archived first, i.e. set entity_status to
ENTITY_STATUS_ARCHIVED
, before it can be deleted. A "Standard" user
role or greater for the
parent advertiser or partner is required to make this request.
(creatives.delete)
Creative
get(string $advertiserId, string $creativeId, array $optParams = [])
Gets a creative. (creatives.get)
ListCreativesResponse
listAdvertisersCreatives(string $advertiserId, array $optParams = [])
Lists creatives in an advertiser. The order is defined by the order_by
parameter. If a filter by entity_status is not specified, creatives with
ENTITY_STATUS_ARCHIVED
will not be included in the results.
(creatives.listAdvertisersCreatives)
Creative
patch(string $advertiserId, string $creativeId, Creative $postBody, array $optParams = [])
Updates an existing creative. Returns the updated creative if successful. A "Standard" user role or greater for the parent advertiser or partner is required to make this request. (creatives.patch)