AdvertisersLineItemsResourceApi class

Constructors

AdvertisersLineItemsResourceApi(ApiRequester client)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetingTypes AdvertisersLineItemsTargetingTypesResourceApi
read-only

Methods

bulkEditLineItemAssignedTargetingOptions(BulkEditLineItemAssignedTargetingOptionsRequest request, String advertiserId, String lineItemId, {String $fields}) Future<BulkEditLineItemAssignedTargetingOptionsResponse>
Bulk edits targeting options under a single line item. The operation will delete the assigned targeting options provided in BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditLineItemAssignedTargetingOptionsRequest.create_requests . [...]
bulkListLineItemAssignedTargetingOptions(String advertiserId, String lineItemId, {String pageToken, String orderBy, int pageSize, String filter, String $fields}) Future<BulkListLineItemAssignedTargetingOptionsResponse>
Lists assigned targeting options of a line item across targeting types. [...]
create(LineItem request, String advertiserId, {String $fields}) Future<LineItem>
Creates a new line item. Returns the newly created line item if successful. [...]
delete(String advertiserId, String lineItemId, {String $fields}) Future<Empty>
Deletes a line item. Returns error code NOT_FOUND if the line item does not exist. The line item should be archived first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED, to be able to delete it. [...]
get(String advertiserId, String lineItemId, {String $fields}) Future<LineItem>
Gets a line item. [...]
list(String advertiserId, {String orderBy, String filter, String pageToken, int pageSize, String $fields}) Future<ListLineItemsResponse>
Lists line items in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, line items with ENTITY_STATUS_ARCHIVED will not be included in the results. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(LineItem request, String advertiserId, String lineItemId, {String updateMask, String $fields}) Future<LineItem>
Updates an existing line item. Returns the updated line item if successful. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

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