AdvertisersInsertionOrdersResourceApi class


AdvertisersInsertionOrdersResourceApi(ApiRequester client)


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


create(InsertionOrder request, String advertiserId, {String $fields}) Future<InsertionOrder>
Creates a new insertion order. Returns the newly created insertion order if successful. [...]
delete(String advertiserId, String insertionOrderId, {String $fields}) Future<Empty>
Deletes an insertion order. Returns error code NOT_FOUND if the insertion order does not exist. The insertion order should be archived first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED, to be able to delete it. [...]
get(String advertiserId, String insertionOrderId, {String $fields}) Future<InsertionOrder>
Gets an insertion order. Returns error code NOT_FOUND if the insertion order does not exist. [...]
list(String advertiserId, {String orderBy, int pageSize, String pageToken, String filter, String $fields}) Future<ListInsertionOrdersResponse>
Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders 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. [...]
patch(InsertionOrder request, String advertiserId, String insertionOrderId, {String updateMask, String $fields}) Future<InsertionOrder>
Updates an existing insertion order. Returns the updated insertion order if successful. [...]
toString() String
Returns a string representation of this object.


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