AdvertisersCampaigns
class AdvertisersCampaigns extends Resource (View source)
The "campaigns" collection of methods.
Typical usage is:
$displayvideoService = new Google\Service\DisplayVideo(...);
$campaigns = $displayvideoService->advertisers_campaigns;
Methods
Permanently deletes a campaign. A deleted campaign cannot be recovered. The
campaign should be archived first, i.e. set entity_status to
ENTITY_STATUS_ARCHIVED
, to be able to delete it. This method regularly
experiences high latency. We recommend increasing your default
timeout to avoid errors.
Gets a campaign. (campaigns.get)
Lists campaigns in an advertiser. The order is defined by the order_by
parameter. If a filter by entity_status is not specified, campaigns with
ENTITY_STATUS_ARCHIVED
will not be included in the results.
Lists assigned targeting options of a campaign across targeting types.
Details
Campaign
create(string $advertiserId, Campaign $postBody, array $optParams = [])
Creates a new campaign. Returns the newly created campaign if successful.
(campaigns.create)
DisplayvideoEmpty
delete(string $advertiserId, string $campaignId, array $optParams = [])
Permanently deletes a campaign. A deleted campaign cannot be recovered. The
campaign should be archived first, i.e. set entity_status to
ENTITY_STATUS_ARCHIVED
, to be able to delete it. This method regularly
experiences high latency. We recommend increasing your default
timeout to avoid errors.
(campaigns.delete)
Campaign
get(string $advertiserId, string $campaignId, array $optParams = [])
Gets a campaign. (campaigns.get)
ListCampaignsResponse
listAdvertisersCampaigns(string $advertiserId, array $optParams = [])
Lists campaigns in an advertiser. The order is defined by the order_by
parameter. If a filter by entity_status is not specified, campaigns with
ENTITY_STATUS_ARCHIVED
will not be included in the results.
(campaigns.listAdvertisersCampaigns)
BulkListCampaignAssignedTargetingOptionsResponse
listAssignedTargetingOptions(string $advertiserId, string $campaignId, array $optParams = [])
Lists assigned targeting options of a campaign across targeting types.
(campaigns.listAssignedTargetingOptions)