generated/google-apis-adexchangebuyer2_v2beta1/lib/google/apis/adexchangebuyer2_v2beta1/service.rb
def list_account_creative_deal_associations(account_id, creative_id, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options)
          command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation
          command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse
          command.params['accountId'] = account_id unless account_id.nil?
          command.params['creativeId'] = creative_id unless creative_id.nil?
          command.query['pageSize'] = page_size unless page_size.nil?
          command.query['pageToken'] = page_token unless page_token.nil?
          command.query['query'] = query unless query.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
# List all creative-deal associations.
# @param [String] account_id
#   The account to list the associations from. Specify "-" to list all creatives
#   the current user has access to.
# @param [String] creative_id
#   The creative ID to list the associations from. Specify "-" to list all
#   creatives under the above account.
# @param [Fixnum] page_size
#   Requested page size. Server may return fewer associations than requested. If
#   unspecified, server will pick an appropriate default.
# @param [String] page_token
#   A token identifying a page of results the server should return. Typically,
#   this is the value of ListDealAssociationsResponse.next_page_token returned
#   from the previous call to 'ListDealAssociations' method.
# @param [String] query
#   An optional query string to filter deal associations. If no filter is
#   specified, all associations will be returned. Supported queries are: -
#   accountId=*account_id_string* - creativeId=*creative_id_string* - dealsId=*
#   deals_id_string* - dealsStatus:`approved, conditionally_approved, disapproved,
#   not_checked` - openAuctionStatus:`approved, conditionally_approved,
#   disapproved, not_checked` Example: 'dealsId=12345 AND dealsStatus:disapproved'
# @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::Adexchangebuyer2V2beta1::ListDealAssociationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse]
#
# @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
List all creative-deal associations.
List all creative - deal associations .
def list_account_creative_deal_associations(account_id, creative_id, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options)
          command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation
          command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse
          command.params['accountId'] = account_id unless account_id.nil?
          command.params['creativeId'] = creative_id unless creative_id.nil?
          command.query['pageSize'] = page_size unless page_size.nil?
          command.query['pageToken'] = page_token unless page_token.nil?
          command.query['query'] = query unless query.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def list_account_creative_deal_associations ( account_id , creative_id , page_size : nil , page_token : nil , query : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations' , options ) command . response_representation = Google :: Apis :: Adexchangebuyer2V2beta1 :: ListDealAssociationsResponse :: Representation command . response_class = Google :: Apis :: Adexchangebuyer2V2beta1 :: ListDealAssociationsResponse command . params [ 'accountId' ] = account_id unless account_id . nil? command . params [ 'creativeId' ] = creative_id unless creative_id . nil? command . query [ 'pageSize' ] = page_size unless page_size . nil? command . query [ 'pageToken' ] = page_token unless page_token . nil? command . query [ 'query' ] = query unless query . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
List all creative-deal associations.
List all creative - deal associations .
None
Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
account_id
creative_id
page_size
page_token
query
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed