public class DisplayVideo.Advertisers.Campaigns extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DisplayVideo.Advertisers.Campaigns.Create |
class |
DisplayVideo.Advertisers.Campaigns.Delete |
class |
DisplayVideo.Advertisers.Campaigns.Get |
class |
DisplayVideo.Advertisers.Campaigns.List |
class |
DisplayVideo.Advertisers.Campaigns.Patch |
| Constructor and Description |
|---|
Campaigns() |
| Modifier and Type | Method and Description |
|---|---|
DisplayVideo.Advertisers.Campaigns.Create |
create(Long advertiserId,
Campaign content)
Creates a new campaign.
|
DisplayVideo.Advertisers.Campaigns.Delete |
delete(Long advertiserId,
Long campaignId)
Permanently deletes a campaign.
|
DisplayVideo.Advertisers.Campaigns.Get |
get(Long advertiserId,
Long campaignId)
Gets a campaign.
|
DisplayVideo.Advertisers.Campaigns.List |
list(Long advertiserId)
Lists campaigns in an advertiser.
|
DisplayVideo.Advertisers.Campaigns.Patch |
patch(Long advertiserId,
Long campaignId,
Campaign content)
Updates an existing campaign.
|
public DisplayVideo.Advertisers.Campaigns.Create create(Long advertiserId, Campaign content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Output only. The unique ID of the advertiser the campaign belongs to.content - the CampaignIOExceptionpublic DisplayVideo.Advertisers.Campaigns.Delete delete(Long advertiserId, Long campaignId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - The ID of the advertiser this campaign belongs to.campaignId - The ID of the campaign we need to delete.IOExceptionpublic DisplayVideo.Advertisers.Campaigns.Get get(Long advertiserId, Long campaignId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser this campaign belongs to.campaignId - Required. The ID of the campaign to fetch.IOExceptionpublic DisplayVideo.Advertisers.Campaigns.List list(Long advertiserId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - The ID of the advertiser to list campaigns for.IOExceptionpublic DisplayVideo.Advertisers.Campaigns.Patch patch(Long advertiserId, Long campaignId, Campaign content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Output only. The unique ID of the advertiser the campaign belongs to.campaignId - Output only. The unique ID of the campaign. Assigned by the system.content - the CampaignIOExceptionCopyright © 2011–2026 Google. All rights reserved.