Advertisers
class Advertisers extends Resource (View source)
The "advertisers" collection of methods.
Typical usage is:
$displayvideoService = new Google\Service\DisplayVideo(...);
$advertisers = $displayvideoService->advertisers;
Methods
Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. Used entities count towards their respective resource limit. See https://support.google.com/displayvideo/answer/6071450.
Creates a new advertiser. Returns the newly created advertiser if successful.
Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, campaigns, insertion orders and line items. A deleted advertiser cannot be recovered. (advertisers.delete)
Edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
Gets an advertiser. (advertisers.get)
Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A single partner_id is required. Cross- partner listing is not supported. (advertisers.listAdvertisers)
Lists assigned targeting options of an advertiser across targeting types.
Updates an existing advertiser. Returns the updated advertiser if successful.
Details
AuditAdvertiserResponse
audit(string $advertiserId, array $optParams = [])
Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. Used entities count towards their respective resource limit. See https://support.google.com/displayvideo/answer/6071450.
(advertisers.audit)
Advertiser
create(Advertiser $postBody, array $optParams = [])
Creates a new advertiser. Returns the newly created advertiser if successful.
This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors. (advertisers.create)
DisplayvideoEmpty
delete(string $advertiserId, array $optParams = [])
Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, campaigns, insertion orders and line items. A deleted advertiser cannot be recovered. (advertisers.delete)
BulkEditAdvertiserAssignedTargetingOptionsResponse
editAssignedTargetingOptions(string $advertiserId, BulkEditAdvertiserAssignedTargetingOptionsRequest $postBody, array $optParams = [])
Edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
(advertisers.editAssignedTargetingOptions)
Advertiser
get(string $advertiserId, array $optParams = [])
Gets an advertiser. (advertisers.get)
ListAdvertisersResponse
listAdvertisers(array $optParams = [])
Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A single partner_id is required. Cross- partner listing is not supported. (advertisers.listAdvertisers)
BulkListAdvertiserAssignedTargetingOptionsResponse
listAssignedTargetingOptions(string $advertiserId, array $optParams = [])
Lists assigned targeting options of an advertiser across targeting types.
(advertisers.listAssignedTargetingOptions)
Advertiser
patch(string $advertiserId, Advertiser $postBody, array $optParams = [])
Updates an existing advertiser. Returns the updated advertiser if successful.
(advertisers.patch)