generated/google/apis/displayvideo_v1/service.rb in google-api-client-0.42.1 vs generated/google/apis/displayvideo_v1/service.rb in google-api-client-0.42.2
- old
+ new
@@ -46,14 +46,51 @@
def initialize
super('https://displayvideo.googleapis.com/', '')
@batch_path = 'batch'
end
- # 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
+ # Audits an advertiser. Returns the counts of used entities per resource type
+ # under the advertiser provided. Used entities count towards their [respective
+ # resource limit]: (https://support.google.com/displayvideo/answer/6071450?hl=en)
+ # @param [Fixnum] advertiser_id
+ # Required. The ID of the advertiser to audit.
+ # @param [String] read_mask
+ # Optional. The specific fields to return. If no mask is specified, all fields
+ # in the response proto will be filled. Valid values are: * usedLineItemsCount *
+ # usedInsertionOrdersCount * usedCampaignsCount
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:audit', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
+ command.query['readMask'] = read_mask unless read_mask.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # 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 .
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser.
# @param [Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsRequest] bulk_edit_advertiser_assigned_targeting_options_request_object
# @param [String] fields
@@ -87,41 +124,31 @@
# Lists assigned targeting options of an advertiser across targeting types.
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser the line item belongs to.
# @param [String] filter
- # Allows filtering by assigned targeting option properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by the logical operator `OR`..
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `targetingType`
- # Examples:
- # * targetingType with value TARGETING_TYPE_CHANNEL
- # `targetingType="TARGETING_TYPE_CHANNEL"`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
+ # be combined by the logical operator `OR`.. * A restriction has the form of ``
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
+ # fields: - `targetingType` Examples: * targetingType with value
+ # TARGETING_TYPE_CHANNEL `targetingType="TARGETING_TYPE_CHANNEL"` The length of
+ # this field should be no more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `targetingType` (default)
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `targetingType desc`.
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
+ # default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix "desc" should be added to the field name. Example: `
+ # targetingType desc`.
# @param [Fixnum] page_size
- # Requested page size.
- # The size must be an integer between `1` and `5000`. If unspecified,
- # the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid
- # value is specified.
+ # Requested page size. The size must be an integer between `1` and `5000`. If
+ # unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
+ # an invalid value is specified.
# @param [String] page_token
- # A token that lets the client fetch the next page of results.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to
- # `BulkListAdvertiserAssignedTargetingOptions` method.
- # If not specified, the first page of results will be returned.
+ # A token that lets the client fetch the next page of results. Typically, this
+ # is the value of next_page_token returned from the previous call to `
+ # BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the
+ # first page of results will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -149,12 +176,11 @@
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 advertiser.
- # Returns the newly created advertiser if successful.
+ # Creates a new advertiser. Returns the newly created advertiser if successful.
# This method can take up to 180 seconds to complete.
# @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -181,14 +207,13 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # 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.
+ # 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.
# @param [Fixnum] advertiser_id
# The ID of the advertiser we need to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -244,50 +269,38 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # 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.
+ # 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.
# @param [String] filter
- # Allows filtering by advertiser properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
- # sequence of restrictions implicitly uses `AND`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `entityStatus`
- # Examples:
- # * All active advertisers under a partner:
- # `entityStatus="ENTITY_STATUS_ACTIVE"`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by advertiser properties. Supported syntax: * Filter
+ # expressions are made up of one or more restrictions. * Restrictions can be
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
+ # entityStatus` Examples: * All active advertisers under a partner: `
+ # entityStatus="ENTITY_STATUS_ACTIVE"` The length of this field should be no
+ # more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `displayName` (default)
- # * `entityStatus`
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. For example,
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
+ # default) * `entityStatus` The default sorting order is ascending. To specify
+ # descending order for a field, a suffix "desc" should be added to the field
+ # name. For example, `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
# default to `100`.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListAdvertisers` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListAdvertisers` method. If not specified, the first page of results will be
+ # returned.
# @param [Fixnum] partner_id
# Required. The ID of the partner that the fetched advertisers should all belong
- # to.
- # The system only supports listing advertisers for one partner at a time.
+ # to. The system only supports listing advertisers for one partner at a time.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -315,12 +328,11 @@
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 advertiser.
- # Returns the updated advertiser if successful.
+ # Updates an existing advertiser. Returns the updated advertiser if successful.
# @param [Fixnum] advertiser_id
# Output only. The unique ID of the advertiser. Assigned by the system.
# @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
# @param [String] update_mask
# Required. The mask to control which fields to update.
@@ -352,14 +364,13 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Uploads an asset.
- # Returns the ID of the newly uploaded asset if successful.
- # The asset file size should be no more than 10 MB for images, 200 MB for
- # ZIP files, and 1 GB for videos.
+ # Uploads an asset. Returns the ID of the newly uploaded asset if successful.
+ # The asset file size should be no more than 10 MB for images, 200 MB for ZIP
+ # files, and 1 GB for videos.
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser this asset belongs to.
# @param [Google::Apis::DisplayvideoV1::CreateAssetRequest] create_asset_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -398,12 +409,11 @@
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 campaign.
- # Returns the newly created campaign if successful.
+ # Creates a new campaign. Returns the newly created campaign if successful.
# @param [Fixnum] advertiser_id
# Output only. The unique ID of the advertiser the campaign belongs to.
# @param [Google::Apis::DisplayvideoV1::Campaign] campaign_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -432,14 +442,13 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Permanently deletes a campaign. A deleted campaign cannot be recovered.
- # The campaign should be archived first, i.e. set
- # entity_status to `ENTITY_STATUS_ARCHIVED`, to be
- # able to delete it.
+ # Permanently deletes a campaign. A deleted campaign cannot be recovered. The
+ # campaign should be archived first, i.e. set entity_status to `
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
# @param [Fixnum] advertiser_id
# The ID of the advertiser this campaign belongs to.
# @param [Fixnum] campaign_id
# The ID of the campaign we need to delete.
# @param [String] fields
@@ -501,51 +510,38 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Lists campaigns in an advertiser.
- # The order is defined by the order_by
- # parameter.
- # If a filter by
- # entity_status is not specified, campaigns with
- # `ENTITY_STATUS_ARCHIVED` will not be included in the results.
+ # Lists campaigns in an advertiser. The order is defined by the order_by
+ # parameter. If a filter by entity_status is not specified, campaigns with `
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
# @param [Fixnum] advertiser_id
# The ID of the advertiser to list campaigns for.
# @param [String] filter
- # Allows filtering by campaign properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
- # sequence of restrictions implicitly uses `AND`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `entityStatus`
- # Examples:
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an
- # advertiser:
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
- # entityStatus="ENTITY_STATUS_PAUSED")`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by campaign properties. Supported syntax: * Filter
+ # expressions are made up of one or more restrictions. * Restrictions can be
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
+ # entityStatus` Examples: * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
+ # campaigns under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
+ # entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be no
+ # more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `displayName` (default)
- # * `entityStatus`
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
+ # default) * `entityStatus` The default sorting order is ascending. To specify
+ # descending order for a field, a suffix "desc" should be added to the field
+ # name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
# default to `100`.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token returned from the
- # previous call to `ListCampaigns` method. If not specified, the first page
- # of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListCampaigns` method. If not specified, the first page of results will be
+ # returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -573,12 +569,11 @@
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 campaign.
- # Returns the updated campaign if successful.
+ # Updates an existing campaign. Returns the updated campaign if successful.
# @param [Fixnum] advertiser_id
# Output only. The unique ID of the advertiser the campaign belongs to.
# @param [Fixnum] campaign_id
# Output only. The unique ID of the campaign. Assigned by the system.
# @param [Google::Apis::DisplayvideoV1::Campaign] campaign_object
@@ -689,40 +684,30 @@
# Lists channels for a partner or advertiser.
# @param [Fixnum] advertiser_id
# The ID of the advertiser that owns the channels.
# @param [String] filter
- # Allows filtering by channel fields.
- # Supported syntax:
- # * Filter expressions for channel currently can only contain at most one
- # * restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `displayName`
- # Examples:
- # * All channels for which the display name contains "google":
- # `displayName : "google"`.
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by channel fields. Supported syntax: * Filter expressions for
+ # channel currently can only contain at most one * restriction. * A restriction
+ # has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
+ # (:)`. * Supported fields: - `displayName` Examples: * All channels for which
+ # the display name contains "google": `displayName : "google"`. The length of
+ # this field should be no more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `displayName` (default)
- # * `channelId`
- # The default sorting order is ascending. To specify descending order for a
- # field, a suffix " desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
+ # default) * `channelId` The default sorting order is ascending. To specify
+ # descending order for a field, a suffix " desc" should be added to the field
+ # name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token returned from the
- # previous call to `ListChannels` method. If not specified, the first page
- # of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListChannels` method. If not specified, the first page of results will be
+ # returned.
# @param [Fixnum] partner_id
# The ID of the partner that owns the channels.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -795,13 +780,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Bulk edits sites under a single channel.
- # The operation will delete the sites provided in
- # BulkEditSitesRequest.deleted_sites and then create the sites
+ # Bulk edits sites under a single channel. The operation will delete the sites
+ # provided in BulkEditSitesRequest.deleted_sites and then create the sites
# provided in BulkEditSitesRequest.created_sites.
# @param [Fixnum] advertiser_id
# The ID of the advertiser that owns the parent channel.
# @param [Fixnum] channel_id
# Required. The ID of the parent channel to which the sites belong.
@@ -918,38 +902,29 @@
# @param [Fixnum] advertiser_id
# The ID of the advertiser that owns the parent channel.
# @param [Fixnum] channel_id
# Required. The ID of the parent channel to which the requested sites belong.
# @param [String] filter
- # Allows filtering by site fields.
- # Supported syntax:
- # * Filter expressions for site currently can only contain at most one
- # * restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `urlOrAppId`
- # Examples:
- # * All sites for which the URL or app ID contains "google":
- # `urlOrAppId : "google"`
+ # Allows filtering by site fields. Supported syntax: * Filter expressions for
+ # site currently can only contain at most one * restriction. * A restriction has
+ # the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
+ # . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
+ # or app ID contains "google": `urlOrAppId : "google"`
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `urlOrAppId` (default)
- # The default sorting order is ascending. To specify descending order for a
- # field, a suffix " desc" should be added to the field name. Example:
- # `urlOrAppId desc`.
+ # Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
+ # default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix " desc" should be added to the field name. Example: `
+ # urlOrAppId desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token returned from the
- # previous call to `ListSites` method. If not specified, the first page
- # of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListSites` method. If not specified, the first page of results will be
+ # returned.
# @param [Fixnum] partner_id
# The ID of the partner that owns the parent channel.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -981,12 +956,11 @@
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.
# @param [Fixnum] advertiser_id
# Output only. The unique ID of the advertiser the creative belongs to.
# @param [Google::Apis::DisplayvideoV1::Creative] creative_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1015,15 +989,13 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
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.
+ # 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.
# @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
@@ -1085,85 +1057,59 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Lists creatives in an advertiser.
- # The order is defined by the order_by
- # parameter.
- # If a filter by
- # entity_status is not specified, creatives with
- # `ENTITY_STATUS_ARCHIVED` will not be included in the results.
+ # Lists creatives in an advertiser. The order is defined by the order_by
+ # parameter. If a filter by entity_status is not specified, creatives with `
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser to list creatives for.
# @param [String] filter
- # Allows filtering by creative properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restriction for the same field must be combined by `OR`.
- # * Restriction for different fields must be combined by `AND`.
- # * Between `(` and `)` there can only be restrictions combined by `OR`
- # for the same field.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)` for the following fields:
- # - `entityStatus`
- # - `creativeType`.
- # - `dimensions`
- # - `minDuration`
- # - `maxDuration`
- # - `approvalStatus`
- # - `exchangeReviewStatus`
- # - `dynamic`
- # - `creativeId`
- # * The operator must be `HAS (:)` for the following fields:
- # - `lineItemIds`
- # * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic` there may
- # be at most one restriction.
- # * For `dimensions`, the value is in the form of `"`width`x`height`"`.
- # * For `exchangeReviewStatus`, the value is in the form of
- # ``exchange`-`reviewStatus``.
- # * For `minDuration` and `maxDuration`, the value is in the form of
- # `"`duration`s"`. Only seconds are supported with millisecond granularity.
- # * There may be multiple `lineItemIds` restrictions in order to search
- # against multiple possible line item IDs.
- # * There may be multiple `creativeId` restrictions in order to search
- # against multiple possible creative IDs.
- # Examples:
- # * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"`
- # * All active creatives with 300x400 or 50x100 dimensions:
- # `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400"
- # OR dimensions="50x100")`
- # * All dynamic creatives that are approved by AdX or
- # AppNexus, with a minimum duration of 5 seconds and 200ms.
- # `dynamic="true" AND minDuration="5.2s" AND
- # (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED"
- # OR exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")`
- # * All video creatives that are associated with line item ID 1 or 2:
- # `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)`
- # * Find creatives by multiple creative IDs:
- # `creativeId=1 OR creativeId=2`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by creative properties. Supported syntax: * Filter
+ # expressions are made up of one or more restrictions. * Restriction for the
+ # same field must be combined by `OR`. * Restriction for different fields must
+ # be combined by `AND`. * Between `(` and `)` there can only be restrictions
+ # combined by `OR` for the same field. * A restriction has the form of ``field` `
+ # operator` `value``. * The operator must be `EQUALS (=)` for the following
+ # fields: - `entityStatus` - `creativeType`. - `dimensions` - `minDuration` - `
+ # maxDuration` - `approvalStatus` - `exchangeReviewStatus` - `dynamic` - `
+ # creativeId` * The operator must be `HAS (:)` for the following fields: - `
+ # lineItemIds` * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic`
+ # there may be at most one restriction. * For `dimensions`, the value is in the
+ # form of `"`width`x`height`"`. * For `exchangeReviewStatus`, the value is in
+ # the form of ``exchange`-`reviewStatus``. * For `minDuration` and `maxDuration`,
+ # the value is in the form of `"`duration`s"`. Only seconds are supported with
+ # millisecond granularity. * There may be multiple `lineItemIds` restrictions in
+ # order to search against multiple possible line item IDs. * There may be
+ # multiple `creativeId` restrictions in order to search against multiple
+ # possible creative IDs. Examples: * All native creatives: `creativeType="
+ # CREATIVE_TYPE_NATIVE"` * All active creatives with 300x400 or 50x100
+ # dimensions: `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR
+ # dimensions="50x100")` * All dynamic creatives that are approved by AdX or
+ # AppNexus, with a minimum duration of 5 seconds and 200ms. `dynamic="true" AND
+ # minDuration="5.2s" AND (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-
+ # REVIEW_STATUS_APPROVED" OR exchangeReviewStatus="EXCHANGE_APPNEXUS-
+ # REVIEW_STATUS_APPROVED")` * All video creatives that are associated with line
+ # item ID 1 or 2: `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR
+ # lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR
+ # creativeId=2` The length of this field should be no more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `creativeId` (default)
- # * `createTime`
- # * `mediaDuration`
- # * `dimensions` (sorts by width first, then by height)
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name.
- # Example: `createTime desc`.
+ # Field by which to sort the list. Acceptable values are: * `creativeId` (
+ # default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first,
+ # then by height) The default sorting order is ascending. To specify descending
+ # order for a field, a suffix "desc" should be added to the field name. Example:
+ # `createTime desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListCreatives` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListCreatives` method. If not specified, the first page of results will be
+ # returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -1191,12 +1137,11 @@
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.
# @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::DisplayvideoV1::Creative] creative_object
@@ -1231,12 +1176,12 @@
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 insertion order.
- # Returns the newly created insertion order if successful.
+ # Creates a new insertion order. Returns the newly created insertion order if
+ # successful.
# @param [Fixnum] advertiser_id
# Output only. The unique ID of the advertiser the insertion order belongs to.
# @param [Google::Apis::DisplayvideoV1::InsertionOrder] insertion_order_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1265,15 +1210,13 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # 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.
+ # 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.
# @param [Fixnum] advertiser_id
# The ID of the advertiser this insertion order belongs to.
# @param [Fixnum] insertion_order_id
# The ID of the insertion order we need to delete.
# @param [String] fields
@@ -1302,12 +1245,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Gets an insertion order.
- # Returns error code `NOT_FOUND` if the insertion order does not exist.
+ # Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order
+ # does not exist.
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser this insertion order belongs to.
# @param [Fixnum] insertion_order_id
# Required. The ID of the insertion order to fetch.
# @param [String] fields
@@ -1336,54 +1279,40 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # 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.
+ # 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.
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser to list insertion orders for.
# @param [String] filter
- # Allows filtering by insertion order properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
- # sequence of restrictions implicitly uses `AND`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `campaignId`
- # - `entityStatus`
- # Examples:
- # * All insertion orders under a campaign: `campaignId="1234"`
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders
- # under an advertiser:
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
- # entityStatus="ENTITY_STATUS_PAUSED")`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by insertion order properties. Supported syntax: * Filter
+ # expressions are made up of one or more restrictions. * Restrictions can be
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
+ # campaignId` - `entityStatus` Examples: * All insertion orders under a campaign:
+ # `campaignId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
+ # insertion orders under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
+ # entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be no
+ # more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * "displayName" (default)
- # * "entityStatus"
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * "displayName" (
+ # default) * "entityStatus" The default sorting order is ascending. To specify
+ # descending order for a field, a suffix "desc" should be added to the field
+ # name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token returned
- # from the previous call to `ListInsertionOrders` method. If not specified,
- # the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListInsertionOrders` method. If not specified, the first page of results will
+ # be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -1411,12 +1340,12 @@
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 insertion order.
- # Returns the updated insertion order if successful.
+ # Updates an existing insertion order. Returns the updated insertion order if
+ # successful.
# @param [Fixnum] advertiser_id
# Output only. The unique ID of the advertiser the insertion order belongs to.
# @param [Fixnum] insertion_order_id
# Output only. The unique ID of the insertion order. Assigned by the system.
# @param [Google::Apis::DisplayvideoV1::InsertionOrder] insertion_order_object
@@ -1451,14 +1380,14 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # 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
+ # 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 .
# @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.
@@ -1497,48 +1426,36 @@
# @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 to list assigned targeting options for.
# @param [String] filter
- # Allows filtering by assigned targeting option properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by the logical operator `OR` on the same
- # field.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `targetingType`
- # - `inheritance`
- # Examples:
- # * AssignedTargetingOptions of targeting type
- # TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL
- # `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR
- # targetingType="TARGETING_TYPE_CHANNEL"`
- # * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
- # INHERITED_FROM_PARTNER
- # `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
+ # be combined by the logical operator `OR` on the same field. * A restriction
+ # has the form of ``field` `operator` `value``. * The operator must be `EQUALS (=
+ # )`. * Supported fields: - `targetingType` - `inheritance` Examples: *
+ # AssignedTargetingOptions of targeting type
+ # TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL `
+ # targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
+ # TARGETING_TYPE_CHANNEL"` * AssignedTargetingOptions with inheritance status of
+ # NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED" OR
+ # inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
+ # more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `targetingType` (default)
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `targetingType desc`.
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
+ # default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix "desc" should be added to the field name. Example: `
+ # targetingType desc`.
# @param [Fixnum] page_size
- # Requested page size.
- # The size must be an integer between `1` and `5000`. If unspecified,
- # the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid
- # value is specified.
+ # Requested page size. The size must be an integer between `1` and `5000`. If
+ # unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
+ # an invalid value is specified.
# @param [String] page_token
- # A token that lets the client fetch the next page of results.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to
- # `BulkListLineItemAssignedTargetingOptions` method.
- # If not specified, the first page of results will be returned.
+ # A token that lets the client fetch the next page of results. Typically, this
+ # is the value of next_page_token returned from the previous call to `
+ # BulkListLineItemAssignedTargetingOptions` method. If not specified, the first
+ # page of results will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -1567,12 +1484,11 @@
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 line item.
- # Returns the newly created line item if successful.
+ # Creates a new line item. Returns the newly created line item if successful.
# @param [Fixnum] advertiser_id
# Output only. The unique ID of the advertiser the line item belongs to.
# @param [Google::Apis::DisplayvideoV1::LineItem] line_item_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1601,15 +1517,13 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
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.
+ # 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.
# @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 we need to fetch.
# @param [String] fields
@@ -1671,58 +1585,45 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # 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.
+ # 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.
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser to list line items for.
# @param [String] filter
- # Allows filtering by line item properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
- # sequence of restrictions implicitly uses `AND`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `campaignId`
- # - `insertionOrderId`
- # - `entityStatus`
- # - `lineItemType`
- # Examples:
- # * All line items under an insertion order: `insertionOrderId="1234"`
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
- # and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser:
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
- # entityStatus="ENTITY_STATUS_PAUSED") AND
- # lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by line item properties. Supported syntax: * Filter
+ # expressions are made up of one or more restrictions. * Restrictions can be
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
+ # value``. * The operator used on `flight.dateRange.endDate` must be LESS THAN (<
+ # ). * The operators used on all other fields must be `EQUALS (=)`. * Supported
+ # fields: - `campaignId` - `insertionOrderId` - `entityStatus` - `lineItemType` -
+ # `flight.dateRange.endDate` (input formatted as YYYY-MM-DD) Examples: * All
+ # line items under an insertion order: `insertionOrderId="1234"` * All `
+ # ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `
+ # LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=
+ # "ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") AND
+ # lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * All line items whose flight
+ # dates end before March 28, 2019: `flight.dateRange.endDate<"2019-03-28"` The
+ # length of this field should be no more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * "displayName" (default)
- # * "entityStatus"
- # * “flight.dateRange.endDate”
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * "displayName" (
+ # default) * "entityStatus" * “flight.dateRange.endDate” The default sorting
+ # order is ascending. To specify descending order for a field, a suffix "desc"
+ # should be added to the field name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListLineItems` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListLineItems` method. If not specified, the first page of results will be
+ # returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -1750,12 +1651,11 @@
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 line item.
- # Returns the updated line item if successful.
+ # Updates an existing line item. Returns the updated line item if successful.
# @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::DisplayvideoV1::LineItem] line_item_object
@@ -1790,12 +1690,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Assigns a targeting option to a line item.
- # Returns the assigned targeting option if successful.
+ # Assigns a targeting option to a line item. Returns the assigned targeting
+ # option if successful.
# @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
@@ -1917,43 +1817,34 @@
# @param [Fixnum] line_item_id
# Required. The ID of the line item to list assigned targeting options for.
# @param [String] targeting_type
# Required. Identifies the type of assigned targeting options to list.
# @param [String] filter
- # Allows filtering by assigned targeting option properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by the logical operator `OR`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `assignedTargetingOptionId`
- # - `inheritance`
- # Examples:
- # * AssignedTargetingOptions with ID 1 or 2
- # `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"`
- # * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
- # INHERITED_FROM_PARTNER
- # `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
+ # fields: - `assignedTargetingOptionId` - `inheritance` Examples: *
+ # AssignedTargetingOptions with ID 1 or 2 `assignedTargetingOptionId="1" OR
+ # assignedTargetingOptionId="2"` * AssignedTargetingOptions with inheritance
+ # status of NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED"
+ # OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
+ # more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `assignedTargetingOptionId` (default)
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `assignedTargetingOptionId desc`.
+ # Field by which to sort the list. Acceptable values are: * `
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
+ # To specify descending order for a field, a suffix "desc" should be added to
+ # the field name. Example: `assignedTargetingOptionId desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListLineItemAssignedTargetingOptions`
- # method. If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListLineItemAssignedTargetingOptions` method. If not specified, the first page
+ # of results will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -2056,42 +1947,31 @@
# Lists location lists based on a given advertiser id.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the fetched location lists
# belong.
# @param [String] filter
- # Allows filtering by location list fields.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
- # sequence of restrictions implicitly uses `AND`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `locationType`
- # Examples:
- # * All regional location list:
- # `locationType="TARGETING_LOCATION_TYPE_REGIONAL"`
- # * All proximity location list:
- # `locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
+ # Allows filtering by location list fields. Supported syntax: * Filter
+ # expressions are made up of one or more restrictions. * Restrictions can be
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
+ # locationType` Examples: * All regional location list: `locationType="
+ # TARGETING_LOCATION_TYPE_REGIONAL"` * All proximity location list: `
+ # locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `locationListId` (default)
- # * `displayName`
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `locationListId` (
+ # default) * `displayName` The default sorting order is ascending. To specify
+ # descending order for a field, a suffix "desc" should be added to the field
+ # name. Example: `displayName desc`.
# @param [Fixnum] page_size
- # Requested page size. Must be between `1` and `100`.
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
- # invalid value is specified.
+ # Requested page size. Must be between `1` and `100`. Defaults to `100` if not
+ # set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListLocationLists` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListLocationLists` method. If not specified, the first page of results will be
+ # returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -2158,16 +2038,15 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Bulk edits multiple assignments between locations and a single location
- # list.
+ # Bulk edits multiple assignments between locations and a single location list.
# The operation will delete the assigned locations provided in
- # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then
- # create the assigned locations provided in
- # BulkEditAssignedLocationsRequest.created_assigned_locations.
+ # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create
+ # the assigned locations provided in BulkEditAssignedLocationsRequest.
+ # created_assigned_locations.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the location list belongs.
# @param [Fixnum] location_list_id
# Required. The ID of the location list to which these assignments are assigned.
# @param [Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsRequest] bulk_edit_assigned_locations_request_object
@@ -2277,36 +2156,30 @@
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the location list belongs.
# @param [Fixnum] location_list_id
# Required. The ID of the location list to which these assignments are assigned.
# @param [String] filter
- # Allows filtering by location list assignment fields.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by the logical operator `OR`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `assignedLocationId`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by location list assignment fields. Supported syntax: *
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
+ # fields: - `assignedLocationId` The length of this field should be no more than
+ # 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `assignedLocationId` (default)
- # The default sorting order is ascending. To specify descending order for a
- # field, a suffix " desc" should be added to the field name. Example:
- # `assignedLocationId desc`.
+ # Field by which to sort the list. Acceptable values are: * `assignedLocationId`
+ # (default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix " desc" should be added to the field name. Example: `
+ # assignedLocationId desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListAssignedLocations`
- # method. If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListAssignedLocations` method. If not specified, the first page of results
+ # will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -2339,12 +2212,11 @@
# Creates a new negative keyword list. Returns the newly created negative
# keyword list if successful.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the negative keyword list
- # will
- # belong.
+ # will belong.
# @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
@@ -2371,12 +2243,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Deletes a negative keyword list given an advertiser ID and a negative
- # keyword list ID.
+ # Deletes a negative keyword list given an advertiser ID and a negative keyword
+ # list ID.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the negative keyword list
# belongs.
# @param [Fixnum] negative_keyword_list_id
# Required. The ID of the negative keyword list to delete.
@@ -2410,12 +2282,11 @@
# Gets a negative keyword list given an advertiser ID and a negative keyword
# list ID.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the fetched negative keyword
- # list
- # belongs.
+ # list belongs.
# @param [Fixnum] negative_keyword_list_id
# Required. The ID of the negative keyword list to fetch.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2445,22 +2316,19 @@
end
# Lists negative keyword lists based on a given advertiser id.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the fetched negative keyword
- # lists
- # belong.
+ # lists belong.
# @param [Fixnum] page_size
- # Requested page size. Must be between `1` and `100`.
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
- # invalid value is specified.
+ # Requested page size. Must be between `1` and `100`. Defaults to `100` if not
+ # set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListNegativeKeywordLists` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListNegativeKeywordLists` method. If not specified, the first page of results
+ # will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -2486,12 +2354,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Updates a negative keyword list. Returns the updated negative keyword list
- # if successful.
+ # Updates a negative keyword list. Returns the updated negative keyword list if
+ # successful.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the negative keyword list
# belongs.
# @param [Fixnum] negative_keyword_list_id
# Output only. The unique ID of the negative keyword list. Assigned by the
@@ -2528,25 +2396,22 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Bulk edits negative keywords in a single negative keyword list.
- # The operation will delete the negative keywords provided in
- # BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then
- # create the negative keywords provided in
- # BulkEditNegativeKeywordsRequest.created_negative_keywords.
- # This operation is guaranteed to be atomic and will never result in a
- # partial success or partial failure.
+ # Bulk edits negative keywords in a single negative keyword list. The operation
+ # will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.
+ # deleted_negative_keywords and then create the negative keywords provided in
+ # BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is
+ # guaranteed to be atomic and will never result in a partial success or partial
+ # failure.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the parent negative keyword
- # list
- # belongs.
+ # list belongs.
# @param [Fixnum] negative_keyword_list_id
# Required. The ID of the parent negative keyword list to which the negative
- # keywords
- # belong.
+ # keywords belong.
# @param [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest] bulk_edit_negative_keywords_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
@@ -2577,16 +2442,14 @@
end
# Creates a negative keyword in a negative keyword list.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the parent negative keyword
- # list
- # belongs.
+ # list belongs.
# @param [Fixnum] negative_keyword_list_id
# Required. The ID of the parent negative keyword list in which the negative
- # keyword
- # will be created.
+ # keyword will be created.
# @param [Google::Apis::DisplayvideoV1::NegativeKeyword] negative_keyword_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
@@ -2617,16 +2480,14 @@
end
# Deletes a negative keyword from a negative keyword list.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the parent negative keyword
- # list
- # belongs.
+ # list belongs.
# @param [Fixnum] negative_keyword_list_id
# Required. The ID of the parent negative keyword list to which the negative
- # keyword
- # belongs.
+ # keyword belongs.
# @param [String] keyword_value
# Required. The keyword value of the negative keyword to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2657,46 +2518,35 @@
end
# Lists negative keywords in a negative keyword list.
# @param [Fixnum] advertiser_id
# Required. The ID of the DV360 advertiser to which the parent negative keyword
- # list
- # belongs.
+ # list belongs.
# @param [Fixnum] negative_keyword_list_id
# Required. The ID of the parent negative keyword list to which the requested
- # negative
- # keywords belong.
+ # negative keywords belong.
# @param [String] filter
- # Allows filtering by negative keyword fields.
- # Supported syntax:
- # * Filter expressions for negative keyword currently can only contain at
- # most one
- # * restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `keywordValue`
- # Examples:
- # * All negative keywords for which the keyword value contains "google":
- # `keywordValue : "google"`
+ # Allows filtering by negative keyword fields. Supported syntax: * Filter
+ # expressions for negative keyword currently can only contain at most one *
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `keywordValue`
+ # Examples: * All negative keywords for which the keyword value contains "google"
+ # : `keywordValue : "google"`
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `keywordValue` (default)
- # The default sorting order is ascending. To specify descending order for a
- # field, a suffix " desc" should be added to the field name. Example:
- # `keywordValue desc`.
+ # Field by which to sort the list. Acceptable values are: * `keywordValue` (
+ # default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix " desc" should be added to the field name. Example: `
+ # keywordValue desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token returned
- # from the previous call to `ListNegativeKeywords` method. If not specified,
- # the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListNegativeKeywords` method. If not specified, the first page of results will
+ # be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -2725,12 +2575,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Assigns a targeting option to an advertiser.
- # Returns the assigned targeting option if successful.
+ # Assigns a targeting option to an advertiser. Returns the assigned targeting
+ # option if successful.
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser.
# @param [String] targeting_type
# Required. Identifies the type of this assigned targeting option.
# @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
@@ -2841,39 +2691,31 @@
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser.
# @param [String] targeting_type
# Required. Identifies the type of assigned targeting options to list.
# @param [String] filter
- # Allows filtering by assigned targeting option properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by the logical operator `OR`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `assignedTargetingOptionId`
- # Examples:
- # * AssignedTargetingOption with ID 123456
- # `assignedTargetingOptionId="123456"`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
+ # fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
+ # ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
+ # be no more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `assignedTargetingOptionId` (default)
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `assignedTargetingOptionId desc`.
+ # Field by which to sort the list. Acceptable values are: * `
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
+ # To specify descending order for a field, a suffix "desc" should be added to
+ # the field name. Example: `assignedTargetingOptionId desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListAdvertiserAssignedTargetingOptions`
- # method. If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListAdvertiserAssignedTargetingOptions` method. If not specified, the first
+ # page of results will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -2906,12 +2748,11 @@
# Gets a combined audience.
# @param [Fixnum] combined_audience_id
# Required. The ID of the combined audience to fetch.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that has access to the fetched combined
- # audience.
+ # The ID of the advertiser that has access to the fetched combined audience.
# @param [Fixnum] partner_id
# The ID of the partner that has access to the fetched combined audience.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2939,47 +2780,35 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Lists combined audiences.
- # The order is defined by the
- # order_by parameter.
+ # Lists combined audiences. The order is defined by the order_by parameter.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that has access to the fetched combined
- # audiences.
+ # The ID of the advertiser that has access to the fetched combined audiences.
# @param [String] filter
- # Allows filtering by combined audience fields.
- # Supported syntax:
- # * Filter expressions for combined audiences currently can only contain at
- # most one restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `displayName`
- # Examples:
- # * All combined audiences for which the display name contains "Google":
- # `displayName : "Google"`.
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by combined audience fields. Supported syntax: * Filter
+ # expressions for combined audiences currently can only contain at most one
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
+ # Examples: * All combined audiences for which the display name contains "Google"
+ # : `displayName : "Google"`. The length of this field should be no more than
+ # 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `combinedAudienceId` (default)
- # * `displayName`
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `combinedAudienceId`
+ # (default) * `displayName` The default sorting order is ascending. To specify
+ # descending order for a field, a suffix "desc" should be added to the field
+ # name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListCombinedAudiences` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListCombinedAudiences` method. If not specified, the first page of results
+ # will be returned.
# @param [Fixnum] partner_id
# The ID of the partner that has access to the fetched combined audiences.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -3014,12 +2843,11 @@
# Gets a custom list.
# @param [Fixnum] custom_list_id
# Required. The ID of the custom list to fetch.
# @param [Fixnum] advertiser_id
- # The ID of the DV360 advertiser that has access to the fetched custom
- # lists.
+ # The ID of the DV360 advertiser that has access to the fetched custom lists.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3044,47 +2872,34 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Lists custom lists.
- # The order is defined by the order_by
- # parameter.
+ # Lists custom lists. The order is defined by the order_by parameter.
# @param [Fixnum] advertiser_id
- # The ID of the DV360 advertiser that has access to the fetched custom
- # lists.
+ # The ID of the DV360 advertiser that has access to the fetched custom lists.
# @param [String] filter
- # Allows filtering by custom list fields.
- # Supported syntax:
- # * Filter expressions for custom lists currently can only contain at
- # most one restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `displayName`
- # Examples:
- # * All custom lists for which the display name contains "Google":
- # `displayName : "Google"`.
+ # Allows filtering by custom list fields. Supported syntax: * Filter expressions
+ # for custom lists currently can only contain at most one restriction. * A
+ # restriction has the form of ``field` `operator` `value``. * The operator must
+ # be `CONTAINS (:)`. * Supported fields: - `displayName` Examples: * All custom
+ # lists for which the display name contains "Google": `displayName : "Google"`.
# The length of this field should be no more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `customListId` (default)
- # * `displayName`
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `customListId` (
+ # default) * `displayName` The default sorting order is ascending. To specify
+ # descending order for a field, a suffix "desc" should be added to the field
+ # name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListCustomLists` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListCustomLists` method. If not specified, the first page of results will be
+ # returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3116,15 +2931,15 @@
# Gets a first and third party audience.
# @param [Fixnum] first_and_third_party_audience_id
# Required. The ID of the first and third party audience to fetch.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that has access to the fetched first and
- # third party audience.
+ # The ID of the advertiser that has access to the fetched first and third party
+ # audience.
# @param [Fixnum] partner_id
- # The ID of the partner that has access to the fetched first and
- # third party audience.
+ # The ID of the partner that has access to the fetched first and third party
+ # audience.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3150,50 +2965,40 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Lists first and third party audiences.
- # The order is defined by the
- # order_by parameter.
+ # Lists first and third party audiences. The order is defined by the order_by
+ # parameter.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that has access to the fetched first and
- # third party audiences.
+ # The ID of the advertiser that has access to the fetched first and third party
+ # audiences.
# @param [String] filter
- # Allows filtering by first and third party audience fields.
- # Supported syntax:
- # * Filter expressions for first and third party audiences currently can
- # only contain at most one restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `displayName`
- # Examples:
- # * All first and third party audiences for which the display name contains
- # "Google": `displayName : "Google"`.
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by first and third party audience fields. Supported syntax: *
+ # Filter expressions for first and third party audiences currently can only
+ # contain at most one restriction. * A restriction has the form of ``field` `
+ # operator` `value``. * The operator must be `CONTAINS (:)`. * Supported fields:
+ # - `displayName` Examples: * All first and third party audiences for which the
+ # display name contains "Google": `displayName : "Google"`. The length of this
+ # field should be no more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `firstAndThirdPartyAudienceId` (default)
- # * `displayName`
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `
+ # firstAndThirdPartyAudienceId` (default) * `displayName` The default sorting
+ # order is ascending. To specify descending order for a field, a suffix "desc"
+ # should be added to the field name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListFirstAndThirdPartyAudiences`
- # method. If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListFirstAndThirdPartyAudiences` method. If not specified, the first page of
+ # results will be returned.
# @param [Fixnum] partner_id
- # The ID of the partner that has access to the fetched first and
- # third party audiences.
+ # The ID of the partner that has access to the fetched first and third party
+ # audiences.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3255,12 +3060,12 @@
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 Floodlight group.
- # Returns the updated Floodlight group if successful.
+ # Updates an existing Floodlight group. Returns the updated Floodlight group if
+ # successful.
# @param [Fixnum] floodlight_group_id
# Output only. The unique ID of the Floodlight group. Assigned by the system.
# @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
# @param [Fixnum] partner_id
# Required. The partner context by which the Floodlight group is being accessed.
@@ -3331,46 +3136,35 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Lists Google audiences.
- # The order is defined by the order_by
- # parameter.
+ # Lists Google audiences. The order is defined by the order_by parameter.
# @param [Fixnum] advertiser_id
# The ID of the advertiser that has access to the fetched Google audiences.
# @param [String] filter
- # Allows filtering by Google audience fields.
- # Supported syntax:
- # * Filter expressions for Google audiences currently can only contain at
- # most one restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `displayName`
- # Examples:
- # * All Google audiences for which the display name contains "Google":
- # `displayName : "Google"`.
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by Google audience fields. Supported syntax: * Filter
+ # expressions for Google audiences currently can only contain at most one
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
+ # Examples: * All Google audiences for which the display name contains "Google":
+ # `displayName : "Google"`. The length of this field should be no more than 500
+ # characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `googleAudienceId` (default)
- # * `displayName`
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `googleAudienceId` (
+ # default) * `displayName` The default sorting order is ascending. To specify
+ # descending order for a field, a suffix "desc" should be added to the field
+ # name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListGoogleAudiences` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListGoogleAudiences` method. If not specified, the first page of results will
+ # be returned.
# @param [Fixnum] partner_id
# The ID of the partner that has access to the fetched Google audiences.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -3405,17 +3199,16 @@
# Creates a new inventory source group. Returns the newly created inventory
# source group if successful.
# @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that owns the inventory source group.
- # The parent partner will not have access to this group.
+ # The ID of the advertiser that owns the inventory source group. The parent
+ # partner will not have access to this group.
# @param [Fixnum] partner_id
- # The ID of the partner that owns the inventory source group.
- # Only this partner will have write access to this group. Only advertisers
- # to which this group is explicitly shared will have read access to this
- # group.
+ # The ID of the partner that owns the inventory source group. Only this partner
+ # will have write access to this group. Only advertisers to which this group is
+ # explicitly shared will have read access to this group.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3446,15 +3239,15 @@
# Deletes an inventory source group.
# @param [Fixnum] inventory_source_group_id
# Required. The ID of the inventory source group to delete.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that owns the inventory source group.
- # The parent partner does not have access to this group.
+ # The ID of the advertiser that owns the inventory source group. The parent
+ # partner does not have access to this group.
# @param [Fixnum] partner_id
- # The ID of the partner that owns the inventory source group.
- # Only this partner has write access to this group.
+ # The ID of the partner that owns the inventory source group. Only this partner
+ # has write access to this group.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3484,16 +3277,16 @@
# Gets an inventory source group.
# @param [Fixnum] inventory_source_group_id
# Required. The ID of the inventory source group to fetch.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that has access to the inventory source group.
- # If an inventory source group is partner-owned, only advertisers to which
- # the group is explicitly shared can access the group.
+ # The ID of the advertiser that has access to the inventory source group. If an
+ # inventory source group is partner-owned, only advertisers to which the group
+ # is explicitly shared can access the group.
# @param [Fixnum] partner_id
- # The ID of the partner that has access to the inventory source group.
- # A partner cannot access an advertiser-owned inventory source group.
+ # The ID of the partner that has access to the inventory source group. A partner
+ # cannot access an advertiser-owned inventory source group.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3519,47 +3312,39 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Lists inventory source groups that are accessible to the current user.
- # The order is defined by the
- # order_by parameter.
+ # Lists inventory source groups that are accessible to the current user. The
+ # order is defined by the order_by parameter.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that has access to the inventory source group.
- # If an inventory source group is partner-owned, only advertisers to which
- # the group is explicitly shared can access the group.
+ # The ID of the advertiser that has access to the inventory source group. If an
+ # inventory source group is partner-owned, only advertisers to which the group
+ # is explicitly shared can access the group.
# @param [String] filter
- # Allows filtering by inventory source group properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by the logical operator `OR`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `inventorySourceGroupId`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by inventory source group properties. Supported syntax: *
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
+ # fields: - `inventorySourceGroupId` The length of this field should be no more
+ # than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `displayName` (default)
- # * `inventorySourceGroupId`
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. For example,
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
+ # default) * `inventorySourceGroupId` The default sorting order is ascending. To
+ # specify descending order for a field, a suffix "desc" should be added to the
+ # field name. For example, `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
# default to `100`.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListInventorySources` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListInventorySources` method. If not specified, the first page of results will
+ # be returned.
# @param [Fixnum] partner_id
- # The ID of the partner that has access to the inventory source group.
- # A partner cannot access advertiser-owned inventory source groups.
+ # The ID of the partner that has access to the inventory source group. A partner
+ # cannot access advertiser-owned inventory source groups.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3588,22 +3373,22 @@
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 inventory source group. Returns the updated inventory source
- # group if successful.
+ # Updates an inventory source group. Returns the updated inventory source group
+ # if successful.
# @param [Fixnum] inventory_source_group_id
# Output only. The unique ID of the inventory source group. Assigned by the
# system.
# @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that owns the inventory source group.
- # The parent partner does not have access to this group.
+ # The ID of the advertiser that owns the inventory source group. The parent
+ # partner does not have access to this group.
# @param [Fixnum] partner_id
- # The ID of the partner that owns the inventory source group.
- # Only this partner has write access to this group.
+ # The ID of the partner that owns the inventory source group. Only this partner
+ # has write access to this group.
# @param [String] update_mask
# Required. The mask to control which fields to update.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -3635,15 +3420,15 @@
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Bulk edits multiple assignments between inventory sources and a single
- # inventory source group.
- # The operation will delete the assigned inventory sources provided in
- # BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources
- # and then create the assigned inventory sources provided in
- # BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
+ # inventory source group. The operation will delete the assigned inventory
+ # sources provided in BulkEditAssignedInventorySourcesRequest.
+ # deleted_assigned_inventory_sources and then create the assigned inventory
+ # sources provided in BulkEditAssignedInventorySourcesRequest.
+ # created_assigned_inventory_sources.
# @param [Fixnum] inventory_source_group_id
# Required. The ID of the inventory source group to which the assignments are
# assigned.
# @param [Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesRequest] bulk_edit_assigned_inventory_sources_request_object
# @param [String] fields
@@ -3680,17 +3465,15 @@
# @param [Fixnum] inventory_source_group_id
# Required. The ID of the inventory source group to which the assignment will be
# assigned.
# @param [Google::Apis::DisplayvideoV1::AssignedInventorySource] assigned_inventory_source_object
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that owns the parent inventory source group.
- # The parent partner will not have access to this assigned inventory
- # source.
+ # The ID of the advertiser that owns the parent inventory source group. The
+ # parent partner will not have access to this assigned inventory source.
# @param [Fixnum] partner_id
- # The ID of the partner that owns the parent inventory source group.
- # Only this partner will have write access to this assigned inventory
- # source.
+ # The ID of the partner that owns the parent inventory source group. Only this
+ # partner will have write access to this assigned inventory source.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3726,16 +3509,15 @@
# Required. The ID of the inventory source group to which this assignment is
# assigned.
# @param [Fixnum] assigned_inventory_source_id
# Required. The ID of the assigned inventory source to delete.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that owns the parent inventory source group.
- # The parent partner does not have access to this assigned inventory
- # source.
+ # The ID of the advertiser that owns the parent inventory source group. The
+ # parent partner does not have access to this assigned inventory source.
# @param [Fixnum] partner_id
- # The ID of the partner that owns the parent inventory source group.
- # Only this partner has write access to this assigned inventory source.
+ # The ID of the partner that owns the parent inventory source group. Only this
+ # partner has write access to this assigned inventory source.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3767,45 +3549,38 @@
# Lists inventory sources assigned to an inventory source group.
# @param [Fixnum] inventory_source_group_id
# Required. The ID of the inventory source group to which these assignments are
# assigned.
# @param [Fixnum] advertiser_id
- # The ID of the advertiser that has access to the assignment.
- # If the parent inventory source group is partner-owned, only advertisers
- # to which the parent group is explicitly shared can access the assigned
- # inventory source.
+ # The ID of the advertiser that has access to the assignment. If the parent
+ # inventory source group is partner-owned, only advertisers to which the parent
+ # group is explicitly shared can access the assigned inventory source.
# @param [String] filter
- # Allows filtering by assigned inventory source fields.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by the logical operator `OR`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `assignedInventorySourceId`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by assigned inventory source fields. Supported syntax: *
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
+ # fields: - `assignedInventorySourceId` The length of this field should be no
+ # more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `assignedInventorySourceId` (default)
- # The default sorting order is ascending. To specify descending order for a
- # field, a suffix " desc" should be added to the field name. Example:
- # `assignedInventorySourceId desc`.
+ # Field by which to sort the list. Acceptable values are: * `
+ # assignedInventorySourceId` (default) The default sorting order is ascending.
+ # To specify descending order for a field, a suffix " desc" should be added to
+ # the field name. Example: `assignedInventorySourceId desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListAssignedInventorySources`
- # method. If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListAssignedInventorySources` method. If not specified, the first page of
+ # results will be returned.
# @param [Fixnum] partner_id
- # The ID of the partner that has access to the assignment.
- # If the parent inventory source group is advertiser-owned, the assignment
- # cannot be accessed via a partner.
+ # The ID of the partner that has access to the assignment. If the parent
+ # inventory source group is advertiser-owned, the assignment cannot be accessed
+ # via a partner.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3839,12 +3614,12 @@
# Gets an inventory source.
# @param [Fixnum] inventory_source_id
# Required. The ID of the inventory source to fetch.
# @param [Fixnum] partner_id
- # Required. The ID of the DV360 partner to which the fetched inventory source
- # is permissioned.
+ # Required. The ID of the DV360 partner to which the fetched inventory source is
+ # permissioned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3869,55 +3644,41 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Lists inventory sources that are accessible to the current user.
- # The order is defined by the
- # order_by parameter.
- # If a filter by
- # entity_status is not
- # specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED`
- # will not be included in the results.
+ # Lists inventory sources that are accessible to the current user. The order is
+ # defined by the order_by parameter. If a filter by entity_status is not
+ # specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED` will
+ # not be included in the results.
# @param [Fixnum] advertiser_id
# The ID of the advertiser that has access to the inventory source.
# @param [String] filter
- # Allows filtering by inventory source properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
- # sequence of restrictions implicitly uses `AND`.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `EQUALS (=)`.
- # * Supported fields:
- # - `status.entityStatus`
- # - `commitment`
- # - `deliveryMethod`
- # - `rateDetails.rateType`
- # - `exchange`
- # Examples:
- # * All active inventory sources:
- # `status.entityStatus="ENTITY_STATUS_ACTIVE"`
- # * Inventory sources belonging to Google Ad Manager or Rubicon exchanges:
- # `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by inventory source properties. Supported syntax: * Filter
+ # expressions are made up of one or more restrictions. * Restrictions can be
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `status.
+ # entityStatus` - `commitment` - `deliveryMethod` - `rateDetails.rateType` - `
+ # exchange` Examples: * All active inventory sources: `status.entityStatus="
+ # ENTITY_STATUS_ACTIVE"` * Inventory sources belonging to Google Ad Manager or
+ # Rubicon exchanges: `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="
+ # EXCHANGE_RUBICON"` The length of this field should be no more than 500
+ # characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `displayName` (default)
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name. For example,
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
+ # default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix "desc" should be added to the field name. For example, `
+ # displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
# default to `100`.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListInventorySources` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListInventorySources` method. If not specified, the first page of results will
+ # be returned.
# @param [Fixnum] partner_id
# The ID of the partner that has access to the inventory source.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -3949,16 +3710,14 @@
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Downloads media. Download is supported on the URI `/download/`resource_name=**`
- # ?alt=media.`
- # **Note**: Download requests will not be successful without including `alt=
- # media` query string.
+ # ?alt=media.` **Note**: Download requests will not be successful without
+ # including `alt=media` query string.
# @param [String] resource_name
- # Name of the media that is being downloaded. See
- # ReadRequest.resource_name.
+ # Name of the media that is being downloaded. See ReadRequest.resource_name.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -3989,10 +3748,130 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
+ # Bulk edits targeting options under a single partner. The operation will delete
+ # the assigned targeting options provided in
+ # BulkEditPartnerAssignedTargetingOptionsRequest.delete_requests and then create
+ # the assigned targeting options provided in
+ # BulkEditPartnerAssignedTargetingOptionsRequest.create_requests .
+ # @param [Fixnum] partner_id
+ # Required. The ID of the partner.
+ # @param [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest] bulk_edit_partner_assigned_targeting_options_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def bulk_edit_partner_assigned_targeting_options(partner_id, bulk_edit_partner_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions', options)
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest::Representation
+ command.request_object = bulk_edit_partner_assigned_targeting_options_request_object
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse
+ command.params['partnerId'] = partner_id unless partner_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets a partner.
+ # @param [Fixnum] partner_id
+ # Required. The ID of the partner to fetch.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Partner] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::Partner]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_partner(partner_id, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::Partner::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::Partner
+ command.params['partnerId'] = partner_id unless partner_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists partners that are accessible to the current user. The order is defined
+ # by the order_by parameter.
+ # @param [String] filter
+ # Allows filtering by partner properties. Supported syntax: * Filter expressions
+ # are made up of one or more restrictions. * Restrictions can be combined by `
+ # AND` or `OR` logical operators. A sequence of restrictions implicitly uses `
+ # AND`. * A restriction has the form of ``field` `operator` `value``. * The
+ # operator must be `EQUALS (=)`. * Supported fields: - `entityStatus` Examples: *
+ # All active partners: `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this
+ # field should be no more than 500 characters.
+ # @param [String] order_by
+ # Field by which to sort the list. Acceptable values are: * `displayName` The
+ # default sorting order is ascending. To specify descending order for a field, a
+ # suffix "desc" should be added to the field name. For example, `displayName
+ # desc`.
+ # @param [Fixnum] page_size
+ # Requested page size. Must be between `1` and `100`. If unspecified will
+ # default to `100`.
+ # @param [String] page_token
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListPartners` method. If not specified, the first page of results will be
+ # returned.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnersResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::ListPartnersResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/partners', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::ListPartnersResponse::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::ListPartnersResponse
+ command.query['filter'] = filter unless filter.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ 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 channel. Returns the newly created channel if successful.
# @param [Fixnum] partner_id
# The ID of the partner that owns the created channel.
# @param [Google::Apis::DisplayvideoV1::Channel] channel_object
# @param [Fixnum] advertiser_id
@@ -4067,40 +3946,30 @@
# @param [Fixnum] partner_id
# The ID of the partner that owns the channels.
# @param [Fixnum] advertiser_id
# The ID of the advertiser that owns the channels.
# @param [String] filter
- # Allows filtering by channel fields.
- # Supported syntax:
- # * Filter expressions for channel currently can only contain at most one
- # * restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `displayName`
- # Examples:
- # * All channels for which the display name contains "google":
- # `displayName : "google"`.
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by channel fields. Supported syntax: * Filter expressions for
+ # channel currently can only contain at most one * restriction. * A restriction
+ # has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
+ # (:)`. * Supported fields: - `displayName` Examples: * All channels for which
+ # the display name contains "google": `displayName : "google"`. The length of
+ # this field should be no more than 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `displayName` (default)
- # * `channelId`
- # The default sorting order is ascending. To specify descending order for a
- # field, a suffix " desc" should be added to the field name. Example:
- # `displayName desc`.
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
+ # default) * `channelId` The default sorting order is ascending. To specify
+ # descending order for a field, a suffix " desc" should be added to the field
+ # name. Example: `displayName desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token returned from the
- # previous call to `ListChannels` method. If not specified, the first page
- # of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListChannels` method. If not specified, the first page of results will be
+ # returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -4171,13 +4040,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Bulk edits sites under a single channel.
- # The operation will delete the sites provided in
- # BulkEditSitesRequest.deleted_sites and then create the sites
+ # Bulk edits sites under a single channel. The operation will delete the sites
+ # provided in BulkEditSitesRequest.deleted_sites and then create the sites
# provided in BulkEditSitesRequest.created_sites.
# @param [Fixnum] partner_id
# The ID of the partner that owns the parent channel.
# @param [Fixnum] channel_id
# Required. The ID of the parent channel to which the sites belong.
@@ -4296,38 +4164,29 @@
# @param [Fixnum] channel_id
# Required. The ID of the parent channel to which the requested sites belong.
# @param [Fixnum] advertiser_id
# The ID of the advertiser that owns the parent channel.
# @param [String] filter
- # Allows filtering by site fields.
- # Supported syntax:
- # * Filter expressions for site currently can only contain at most one
- # * restriction.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be `CONTAINS (:)`.
- # * Supported fields:
- # - `urlOrAppId`
- # Examples:
- # * All sites for which the URL or app ID contains "google":
- # `urlOrAppId : "google"`
+ # Allows filtering by site fields. Supported syntax: * Filter expressions for
+ # site currently can only contain at most one * restriction. * A restriction has
+ # the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
+ # . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
+ # or app ID contains "google": `urlOrAppId : "google"`
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `urlOrAppId` (default)
- # The default sorting order is ascending. To specify descending order for a
- # field, a suffix " desc" should be added to the field name. Example:
- # `urlOrAppId desc`.
+ # Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
+ # default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix " desc" should be added to the field name. Example: `
+ # urlOrAppId desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token returned from the
- # previous call to `ListSites` method. If not specified, the first page
- # of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListSites` method. If not specified, the first page of results will be
+ # returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -4357,25 +4216,190 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Creates an SDF Download Task. Returns an
- # Operation.
- # An SDF Download Task is a long-running, asynchronous operation. The
- # metadata type of this operation is
- # SdfDownloadTaskMetadata. If the request is successful, the
- # response type of the operation is
- # SdfDownloadTask. The response will not include the download files,
- # which must be retrieved with
- # media.download. The state of
- # operation can be retrieved with
- # sdfdownloadtask.operations.get.
- # Any errors can be found in the
- # error.message. Note
- # that error.details is expected to be
- # empty.
+ # Assigns a targeting option to a partner. Returns the assigned targeting option
+ # if successful.
+ # @param [Fixnum] partner_id
+ # Required. The ID of the partner.
+ # @param [String] targeting_type
+ # Required. Identifies the type of this assigned targeting option. Supported
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
+ # @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def create_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
+ command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
+ command.request_object = assigned_targeting_option_object
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
+ command.params['partnerId'] = partner_id unless partner_id.nil?
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes an assigned targeting option from a partner.
+ # @param [Fixnum] partner_id
+ # Required. The ID of the partner.
+ # @param [String] targeting_type
+ # Required. Identifies the type of this assigned targeting option. Supported
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
+ # @param [String] assigned_targeting_option_id
+ # Required. The ID of the assigned targeting option to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::Empty]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
+ command.params['partnerId'] = partner_id unless partner_id.nil?
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets a single targeting option assigned to a partner.
+ # @param [Fixnum] partner_id
+ # Required. The ID of the partner.
+ # @param [String] targeting_type
+ # Required. Identifies the type of this assigned targeting option. Supported
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
+ # @param [String] assigned_targeting_option_id
+ # Required. An identifier unique to the targeting type in this partner that
+ # identifies the assigned targeting option being requested.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
+ command.params['partnerId'] = partner_id unless partner_id.nil?
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the targeting options assigned to a partner.
+ # @param [Fixnum] partner_id
+ # Required. The ID of the partner.
+ # @param [String] targeting_type
+ # Required. Identifies the type of assigned targeting options to list. Supported
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
+ # @param [String] filter
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
+ # fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
+ # ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
+ # be no more than 500 characters.
+ # @param [String] order_by
+ # Field by which to sort the list. Acceptable values are: * `
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
+ # To specify descending order for a field, a suffix "desc" should be added to
+ # the field name. Example: `assignedTargetingOptionId desc`.
+ # @param [Fixnum] page_size
+ # Requested page size. Must be between `1` and `100`. If unspecified will
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
+ # @param [String] page_token
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListPartnerAssignedTargetingOptions` method. If not specified, the first page
+ # of results will be returned.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_partner_targeting_type_assigned_targeting_options(partner_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse
+ command.params['partnerId'] = partner_id unless partner_id.nil?
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a
+ # long-running, asynchronous operation. The metadata type of this operation is
+ # SdfDownloadTaskMetadata. If the request is successful, the response type of
+ # the operation is SdfDownloadTask. The response will not include the download
+ # files, which must be retrieved with media.download. The state of operation can
+ # be retrieved with sdfdownloadtask.operations.get. Any errors can be found in
+ # the error.message. Note that error.details is expected to be empty.
# @param [Google::Apis::DisplayvideoV1::CreateSdfDownloadTaskRequest] create_sdf_download_task_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
@@ -4474,36 +4498,30 @@
# @param [String] targeting_type
# Required. The type of targeting option to be listed.
# @param [Fixnum] advertiser_id
# Required. The Advertiser this request is being made in the context of.
# @param [String] filter
- # Allows filtering by targeting option properties.
- # Supported syntax:
- # * Filter expressions are made up of one or more restrictions.
- # * Restrictions can be combined by `OR` logical operators.
- # * A restriction has the form of ``field` `operator` `value``.
- # * The operator must be "=" (equal sign).
- # * Supported fields:
- # - `targetingOptionId`
- # The length of this field should be no more than 500 characters.
+ # Allows filtering by targeting option properties. Supported syntax: * Filter
+ # expressions are made up of one or more restrictions. * Restrictions can be
+ # combined by `OR` logical operators. * A restriction has the form of ``field` `
+ # operator` `value``. * The operator must be "=" (equal sign). * Supported
+ # fields: - `targetingOptionId` The length of this field should be no more than
+ # 500 characters.
# @param [String] order_by
- # Field by which to sort the list.
- # Acceptable values are:
- # * `targetingOptionId` (default)
- # The default sorting order is ascending. To specify descending order for
- # a field, a suffix "desc" should be added to the field name.
- # Example: `targetingOptionId desc`.
+ # Field by which to sort the list. Acceptable values are: * `targetingOptionId` (
+ # default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix "desc" should be added to the field name. Example: `
+ # targetingOptionId desc`.
# @param [Fixnum] page_size
# Requested page size. Must be between `1` and `100`. If unspecified will
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
- # is specified.
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
+ # specified.
# @param [String] page_token
- # A token identifying a page of results the server should return.
- # Typically, this is the value of
- # next_page_token
- # returned from the previous call to `ListTargetingOptions` method.
- # If not specified, the first page of results will be returned.
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListTargetingOptions` method. If not specified, the first page of results will
+ # be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -4527,9 +4545,238 @@
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
command.query['filter'] = filter unless filter.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Bulk edits user roles for a user. The operation will delete the assigned user
+ # roles provided in BulkEditAssignedUserRolesRequest.deleted_assigned_user_roles
+ # and then assign the user roles provided in BulkEditAssignedUserRolesRequest.
+ # created_assigned_user_roles.
+ # @param [Fixnum] user_id
+ # Required. The ID of the user to which the assigned user roles belong.
+ # @param [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest] bulk_edit_assigned_user_roles_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/users/{+userId}:bulkEditAssignedUserRoles', options)
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest::Representation
+ command.request_object = bulk_edit_assigned_user_roles_request_object
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse
+ command.params['userId'] = user_id unless user_id.nil?
+ 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 user. Returns the newly created user if successful.
+ # @param [Google::Apis::DisplayvideoV1::User] user_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::User]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def create_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/users', options)
+ command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
+ command.request_object = user_object
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::User
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes a user.
+ # @param [Fixnum] user_id
+ # Required. The ID of the user to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::Empty]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1/users/{+userId}', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
+ command.params['userId'] = user_id unless user_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets a user.
+ # @param [Fixnum] user_id
+ # Required. The ID of the user to fetch.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::User]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/users/{+userId}', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::User
+ command.params['userId'] = user_id unless user_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists users that are accessible to the current user. If two users have user
+ # roles on the same partner or advertiser, they can access each other.
+ # @param [String] filter
+ # Allows filtering by user properties. Supported syntax: * Filter expressions
+ # are made up of one or more restrictions. * Restrictions can be combined by the
+ # logical operator `AND`. * A restriction has the form of ``field` `operator` `
+ # value``. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The operator
+ # must be `CONTAINS (:)` for the following fields: - `displayName` - `email` *
+ # The operator must be `EQUALS (=)` for the following fields: - `
+ # assignedUserRole.userRole` - `assignedUserRole.partnerId` - `assignedUserRole.
+ # advertiserId` - `assignedUserRole.entityType`: A synthetic field of
+ # AssignedUserRole used for filtering. Identifies the type of entity to which
+ # the user role is assigned. Valid values are `Partner` and `Advertiser`. - `
+ # assignedUserRole.parentPartnerId`: A synthetic field of AssignedUserRole used
+ # for filtering. Identifies the parent partner of the entity to which the user
+ # role is assigned." Examples: * The user with displayName containing `foo`: `
+ # displayName:"foo"` * The user with email containing `bar`: `email:"bar"` * All
+ # users with standard user roles: `assignedUserRole.userRole="STANDARD"` * All
+ # users with user roles for partner 123: `assignedUserRole.partnerId="123"` *
+ # All users with user roles for advertiser 123: `assignedUserRole.advertiserId="
+ # 123"` * All users with partner level user roles: `entityType="PARTNER"` * All
+ # users with user roles for partner 123 and advertisers under partner 123: `
+ # parentPartnerId="123"` The length of this field should be no more than 500
+ # characters.
+ # @param [String] order_by
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
+ # default) The default sorting order is ascending. To specify descending order
+ # for a field, a suffix "desc" should be added to the field name. For example, `
+ # displayName desc`.
+ # @param [Fixnum] page_size
+ # Requested page size. Must be between `1` and `100`. If unspecified will
+ # default to `100`.
+ # @param [String] page_token
+ # A token identifying a page of results the server should return. Typically,
+ # this is the value of next_page_token returned from the previous call to `
+ # ListUsers` method. If not specified, the first page of results will be
+ # returned.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListUsersResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::ListUsersResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_users(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/users', options)
+ command.response_representation = Google::Apis::DisplayvideoV1::ListUsersResponse::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::ListUsersResponse
+ command.query['filter'] = filter unless filter.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ 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 user. Returns the updated user if successful.
+ # @param [Fixnum] user_id
+ # Output only. The unique ID of the user. Assigned by the system.
+ # @param [Google::Apis::DisplayvideoV1::User] user_object
+ # @param [String] update_mask
+ # Required. The mask to control which fields to update.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DisplayvideoV1::User]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1/users/{+userId}', options)
+ command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
+ command.request_object = user_object
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
+ command.response_class = Google::Apis::DisplayvideoV1::User
+ command.params['userId'] = user_id unless user_id.nil?
+ command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end