AdvertisersLineItemsResource class

Constructors

AdvertisersLineItemsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetingTypes AdvertisersLineItemsTargetingTypesResource
no setter

Methods

bulkEditAssignedTargetingOptions(BulkEditAssignedTargetingOptionsRequest request, String advertiserId, {String? $fields}) Future<BulkEditAssignedTargetingOptionsResponse>
Bulk edits targeting options under multiple line items.
bulkListAssignedTargetingOptions(String advertiserId, {String? filter, List<String>? lineItemIds, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<BulkListAssignedTargetingOptionsResponse>
Lists assigned targeting options for multiple line items across targeting types.
bulkUpdate(BulkUpdateLineItemsRequest request, String advertiserId, {String? $fields}) Future<BulkUpdateLineItemsResponse>
Updates multiple line items.
create(LineItem request, String advertiserId, {String? $fields}) Future<LineItem>
Creates a new line item.
delete(String advertiserId, String lineItemId, {String? $fields}) Future<Empty>
Deletes a line item.
duplicate(DuplicateLineItemRequest request, String advertiserId, String lineItemId, {String? $fields}) Future<DuplicateLineItemResponse>
Duplicates a line item.
generateDefault(GenerateDefaultLineItemRequest request, String advertiserId, {String? $fields}) Future<LineItem>
Creates a new line item with settings (including targeting) inherited from the insertion order and an ENTITY_STATUS_DRAFT entity_status.
get(String advertiserId, String lineItemId, {String? $fields}) Future<LineItem>
Gets a line item.
list(String advertiserId, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<ListLineItemsResponse>
Lists line items in an advertiser.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(LineItem request, String advertiserId, String lineItemId, {String? updateMask, String? $fields}) Future<LineItem>
Updates an existing line item.
toString() String
A string representation of this object.
inherited

Operators

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