Class AdvertisersResource
The "advertisers" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class AdvertisersResource
Constructors
AdvertisersResource(IClientService)
Constructs a new resource.
Declaration
public AdvertisersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AdGroupAds
Gets the AdGroupAds resource.
Declaration
public virtual AdvertisersResource.AdGroupAdsResource AdGroupAds { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.AdGroupAdsResource |
AdGroups
Gets the AdGroups resource.
Declaration
public virtual AdvertisersResource.AdGroupsResource AdGroups { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.AdGroupsResource |
Assets
Gets the Assets resource.
Declaration
public virtual AdvertisersResource.AssetsResource Assets { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.AssetsResource |
Campaigns
Gets the Campaigns resource.
Declaration
public virtual AdvertisersResource.CampaignsResource Campaigns { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.CampaignsResource |
Channels
Gets the Channels resource.
Declaration
public virtual AdvertisersResource.ChannelsResource Channels { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.ChannelsResource |
Creatives
Gets the Creatives resource.
Declaration
public virtual AdvertisersResource.CreativesResource Creatives { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.CreativesResource |
InsertionOrders
Gets the InsertionOrders resource.
Declaration
public virtual AdvertisersResource.InsertionOrdersResource InsertionOrders { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.InsertionOrdersResource |
Invoices
Gets the Invoices resource.
Declaration
public virtual AdvertisersResource.InvoicesResource Invoices { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.InvoicesResource |
LineItems
Gets the LineItems resource.
Declaration
public virtual AdvertisersResource.LineItemsResource LineItems { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.LineItemsResource |
LocationLists
Gets the LocationLists resource.
Declaration
public virtual AdvertisersResource.LocationListsResource LocationLists { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.LocationListsResource |
NegativeKeywordLists
Gets the NegativeKeywordLists resource.
Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource NegativeKeywordLists { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource |
TargetingTypes
Gets the TargetingTypes resource.
Declaration
public virtual AdvertisersResource.TargetingTypesResource TargetingTypes { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.TargetingTypesResource |
Methods
Audit(long)
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.
Declaration
public virtual AdvertisersResource.AuditRequest Audit(long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser to audit. |
Returns
Type | Description |
---|---|
AdvertisersResource.AuditRequest |
Create(Advertiser)
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.
Declaration
public virtual AdvertisersResource.CreateRequest Create(Advertiser body)
Parameters
Type | Name | Description |
---|---|---|
Advertiser | body | The body of the request. |
Returns
Type | Description |
---|---|
AdvertisersResource.CreateRequest |
Delete(long)
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.
Declaration
public virtual AdvertisersResource.DeleteRequest Delete(long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | The ID of the advertiser we need to delete. |
Returns
Type | Description |
---|---|
AdvertisersResource.DeleteRequest |
EditAssignedTargetingOptions(BulkEditAdvertiserAssignedTargetingOptionsRequest, long)
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 .
Declaration
public virtual AdvertisersResource.EditAssignedTargetingOptionsRequest EditAssignedTargetingOptions(BulkEditAdvertiserAssignedTargetingOptionsRequest body, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
BulkEditAdvertiserAssignedTargetingOptionsRequest | body | The body of the request. |
long | advertiserId | Required. The ID of the advertiser. |
Returns
Type | Description |
---|---|
AdvertisersResource.EditAssignedTargetingOptionsRequest |
Get(long)
Gets an advertiser.
Declaration
public virtual AdvertisersResource.GetRequest Get(long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser to fetch. |
Returns
Type | Description |
---|---|
AdvertisersResource.GetRequest |
List()
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.
Declaration
public virtual AdvertisersResource.ListRequest List()
Returns
Type | Description |
---|---|
AdvertisersResource.ListRequest |
ListAssignedTargetingOptions(long)
Lists assigned targeting options of an advertiser across targeting types.
Declaration
public virtual AdvertisersResource.ListAssignedTargetingOptionsRequest ListAssignedTargetingOptions(long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser the line item belongs to. |
Returns
Type | Description |
---|---|
AdvertisersResource.ListAssignedTargetingOptionsRequest |
Patch(Advertiser, long)
Updates an existing advertiser. Returns the updated advertiser if successful.
Declaration
public virtual AdvertisersResource.PatchRequest Patch(Advertiser body, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
Advertiser | body | The body of the request. |
long | advertiserId | Output only. The unique ID of the advertiser. Assigned by the system. |
Returns
Type | Description |
---|---|
AdvertisersResource.PatchRequest |