lib/google/apis/displayvideo_v3/service.rb in google-apis-displayvideo_v3-0.2.0 vs lib/google/apis/displayvideo_v3/service.rb in google-apis-displayvideo_v3-0.3.0

- old
+ new

@@ -1594,11 +1594,13 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Creates a new creative. Returns the newly created creative if successful. + # Creates a new creative. Returns the newly created creative if successful. A [" + # Standard" user role](//support.google.com/displayvideo/answer/2723011) or + # greater for the parent advertiser or partner is required to make this request. # @param [Fixnum] advertiser_id # Output only. The unique ID of the advertiser the creative belongs to. # @param [Google::Apis::DisplayvideoV3::Creative] creative_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1629,11 +1631,13 @@ execute_or_queue_command(command, &block) end # Deletes a creative. Returns error code `NOT_FOUND` if the creative does not # exist. The creative should be archived first, i.e. set entity_status to ` - # ENTITY_STATUS_ARCHIVED`, before it can be deleted. + # ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user role](// + # support.google.com/displayvideo/answer/2723011) or greater for the parent + # advertiser or partner is required to make this request. # @param [Fixnum] advertiser_id # The ID of the advertiser this creative belongs to. # @param [Fixnum] creative_id # The ID of the creative to be deleted. # @param [String] fields @@ -1779,11 +1783,13 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Updates an existing creative. Returns the updated creative if successful. + # Updates an existing creative. Returns the updated creative if successful. A [" + # Standard" user role](//support.google.com/displayvideo/answer/2723011) or + # greater for the parent advertiser or partner is required to make this request. # @param [Fixnum] advertiser_id # Output only. The unique ID of the advertiser the creative belongs to. # @param [Fixnum] creative_id # Output only. The unique ID of the creative. Assigned by the system. # @param [Google::Apis::DisplayvideoV3::Creative] creative_object @@ -2459,11 +2465,12 @@ # BulkEditAssignedTargetingOptionsRequest.delete_requests and then create the # assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest. # create_requests. Requests to this endpoint cannot be made concurrently with # the following requests updating the same line item: * lineItems.bulkUpdate * # lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions. - # delete + # delete YouTube & Partners line items cannot be created or updated using the + # API. # @param [Fixnum] advertiser_id # Required. The ID of the advertiser the line items belong to. # @param [Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsRequest] bulk_edit_assigned_targeting_options_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2562,11 +2569,12 @@ end # Updates multiple line items. Requests to this endpoint cannot be made # concurrently with the following requests updating the same line item: * # BulkEditAssignedTargetingOptions * UpdateLineItem * assignedTargetingOptions. - # create * assignedTargetingOptions.delete + # create * assignedTargetingOptions.delete YouTube & Partners line items cannot + # be created or updated using the API. # @param [Fixnum] advertiser_id # Required. The ID of the advertiser this line item belongs to. # @param [Google::Apis::DisplayvideoV3::BulkUpdateLineItemsRequest] bulk_update_line_items_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2596,10 +2604,11 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a new line item. Returns the newly created line item if successful. + # YouTube & Partners line items cannot be created or updated using the API. # @param [Fixnum] advertiser_id # Output only. The unique ID of the advertiser the line item belongs to. # @param [Google::Apis::DisplayvideoV3::LineItem] line_item_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2630,11 +2639,12 @@ execute_or_queue_command(command, &block) end # 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. + # ENTITY_STATUS_ARCHIVED`, to be able to delete it. YouTube & Partners line + # items cannot be created or updated using the API. # @param [Fixnum] advertiser_id # The ID of the advertiser this line item belongs to. # @param [Fixnum] line_item_id # The ID of the line item to delete. # @param [String] fields @@ -2664,10 +2674,11 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Duplicates a line item. Returns the ID of the created line item if successful. + # YouTube & Partners line items cannot be created or updated using the API. # @param [Fixnum] advertiser_id # Required. The ID of the advertiser this line item belongs to. # @param [Fixnum] line_item_id # Required. The ID of the line item to duplicate. # @param [Google::Apis::DisplayvideoV3::DuplicateLineItemRequest] duplicate_line_item_request_object @@ -2703,11 +2714,12 @@ # Creates a new line item with settings (including targeting) inherited from the # insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the newly # created line item if successful. There are default values based on the three # fields: * The insertion order's insertion_order_type * The insertion order's - # automation_type * The given line_item_type + # automation_type * The given line_item_type YouTube & Partners line items + # cannot be created or updated using the API. # @param [Fixnum] advertiser_id # Required. The ID of the advertiser this line item belongs to. # @param [Google::Apis::DisplayvideoV3::GenerateDefaultLineItemRequest] generate_default_line_item_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2843,11 +2855,12 @@ # Updates an existing line item. Returns the updated line item if successful. # Requests to this endpoint cannot be made concurrently with the following # requests updating the same line item: * BulkEditAssignedTargetingOptions * # BulkUpdateLineItems * assignedTargetingOptions.create * - # assignedTargetingOptions.delete + # assignedTargetingOptions.delete YouTube & Partners line items cannot be + # created or updated using the API. # @param [Fixnum] advertiser_id # Output only. The unique ID of the advertiser the line item belongs to. # @param [Fixnum] line_item_id # Output only. The unique ID of the line item. Assigned by the system. # @param [Google::Apis::DisplayvideoV3::LineItem] line_item_object @@ -2886,11 +2899,12 @@ # Assigns a targeting option to a line item. Returns the assigned targeting # option if successful. Requests to this endpoint cannot be made concurrently # with the following requests updating the same line item: * lineItems. # bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * - # DeleteLineItemAssignedTargetingOption + # DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be + # created or updated using the API. # @param [Fixnum] advertiser_id # Required. The ID of the advertiser the line item belongs to. # @param [Fixnum] line_item_id # Required. The ID of the line item the assigned targeting option will belong to. # @param [String] targeting_type @@ -2953,10 +2967,11 @@ end # Deletes an assigned targeting option from a line item. Requests to this # endpoint cannot be made concurrently with the following requests updating the # same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems. - # bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption + # bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & + # Partners line items cannot be created or updated using the API. # @param [Fixnum] advertiser_id # Required. The ID of the advertiser the line item belongs to. # @param [Fixnum] line_item_id # Required. The ID of the line item the assigned targeting option belongs to. # @param [String] targeting_type