AdvertisersResourceApi class

Constructors

AdvertisersResourceApi(ApiRequester client)

Properties

assets AdvertisersAssetsResourceApi
read-only
campaigns AdvertisersCampaignsResourceApi
read-only
channels AdvertisersChannelsResourceApi
read-only
creatives AdvertisersCreativesResourceApi
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
insertionOrders AdvertisersInsertionOrdersResourceApi
read-only
lineItems AdvertisersLineItemsResourceApi
read-only
locationLists AdvertisersLocationListsResourceApi
read-only
negativeKeywordLists AdvertisersNegativeKeywordListsResourceApi
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetingTypes AdvertisersTargetingTypesResourceApi
read-only

Methods

audit(String advertiserId, {String readMask, String $fields}) Future<AuditAdvertiserResponse>
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. [...]
bulkEditAdvertiserAssignedTargetingOptions(BulkEditAdvertiserAssignedTargetingOptionsRequest request, String advertiserId, {String $fields}) Future<BulkEditAdvertiserAssignedTargetingOptionsResponse>
Bulk 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 . [...]
bulkListAdvertiserAssignedTargetingOptions(String advertiserId, {String orderBy, String filter, String pageToken, int pageSize, String $fields}) Future<BulkListAdvertiserAssignedTargetingOptionsResponse>
Lists assigned targeting options of an advertiser across targeting types. [...]
create(Advertiser request, {String $fields}) Future<Advertiser>
Creates a new advertiser. Returns the newly created advertiser if successful. This method can take up to 180 seconds to complete. [...]
delete(String advertiserId, {String $fields}) Future<Empty>
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. [...]
get(String advertiserId, {String $fields}) Future<Advertiser>
Gets an advertiser. [...]
list({String partnerId, String filter, String orderBy, String pageToken, int pageSize, String $fields}) Future<ListAdvertisersResponse>
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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(Advertiser request, String advertiserId, {String updateMask, String $fields}) Future<Advertiser>
Updates an existing advertiser. Returns the updated advertiser if successful. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited