Class: Google::Apis::AdexchangebuyerV1_4::AdExchangeBuyerService
- Inherits:
- 
      Core::BaseService
      
        - Object
- Core::BaseService
- Google::Apis::AdexchangebuyerV1_4::AdExchangeBuyerService
 
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/service.rb
Overview
Ad Exchange Buyer API
Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.
Instance Attribute Summary collapse
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    API key. 
- 
  
    
      #quota_user  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An opaque string that represents a user for quota purposes. 
- 
  
    
      #user_ip  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Deprecated. 
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
- 
  
    
      #add_creative_deal(account_id, buyer_creative_id, deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } 
    
    
  
  
  
  
  
  
  
  
  
    Add a deal id association for the creative. 
- 
  
    
      #delete_marketplacedeal_order_deals(proposal_id, delete_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Delete the specified deals from the proposal. 
- 
  
    
      #delete_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } 
    
    
  
  
  
  
  
  
  
  
  
    Deletes an existing pretargeting config. 
- 
  
    
      #get_account(id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Account 
    
    
  
  
  
  
  
  
  
  
  
    Gets one account by ID. 
- 
  
    
      #get_billing_info(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::BillingInfo 
    
    
  
  
  
  
  
  
  
  
  
    Returns the billing information for one account specified by account ID. 
- 
  
    
      #get_budget(account_id, billing_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Budget 
    
    
  
  
  
  
  
  
  
  
  
    Returns the budget information for the adgroup specified by the accountId and billingId. 
- 
  
    
      #get_creative(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Creative 
    
    
  
  
  
  
  
  
  
  
  
    Gets the status for a single creative. 
- 
  
    
      #get_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfig 
    
    
  
  
  
  
  
  
  
  
  
    Gets a specific pretargeting configuration. 
- 
  
    
      #get_product(product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Product 
    
    
  
  
  
  
  
  
  
  
  
    Gets the requested product by id. 
- 
  
    
      #get_proposal(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Proposal 
    
    
  
  
  
  
  
  
  
  
  
    Get a proposal given its id. 
- 
  
    
      #initialize  ⇒ AdExchangeBuyerService 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AdExchangeBuyerService. 
- 
  
    
      #insert_creative(creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Creative 
    
    
  
  
  
  
  
  
  
  
  
    Submit a new creative. 
- 
  
    
      #insert_marketplacedeal(proposal_id, add_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::AddOrderDealsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Add new deals for the specified proposal. 
- 
  
    
      #insert_marketplacenote(proposal_id, add_order_notes_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::AddOrderNotesResponse 
    
    
  
  
  
  
  
  
  
  
  
    Add notes to the proposal. 
- 
  
    
      #insert_pretargeting_config(account_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfig 
    
    
  
  
  
  
  
  
  
  
  
    Inserts a new pretargeting configuration. 
- 
  
    
      #insert_proposal(create_orders_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::CreateOrdersResponse 
    
    
  
  
  
  
  
  
  
  
  
    Create the given list of proposals. 
- 
  
    
      #list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::AccountsList 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the authenticated user's list of accounts. 
- 
  
    
      #list_billing_infos(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::BillingInfoList 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a list of billing information for all accounts of the authenticated user. 
- 
  
    
      #list_creative_deals(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::CreativeDealIds 
    
    
  
  
  
  
  
  
  
  
  
    Lists the external deal ids associated with the creative. 
- 
  
    
      #list_creatives(account_id: nil, buyer_creative_id: nil, deals_status_filter: nil, max_results: nil, open_auction_status_filter: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::CreativesList 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a list of the authenticated user's active creatives. 
- 
  
    
      #list_marketplacedeals(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetOrderDealsResponse 
    
    
  
  
  
  
  
  
  
  
  
    List all the deals for a given proposal. 
- 
  
    
      #list_marketplacenotes(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse 
    
    
  
  
  
  
  
  
  
  
  
    Get all the notes associated with a proposal. 
- 
  
    
      #list_performance_reports(account_id, end_date_time, start_date_time, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PerformanceReportList 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the authenticated user's list of performance metrics. 
- 
  
    
      #list_pretargeting_configs(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfigList 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a list of the authenticated user's pretargeting configurations. 
- 
  
    
      #list_pub_profiles(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse 
    
    
  
  
  
  
  
  
  
  
  
    Gets the requested publisher profile(s) by publisher accountId. 
- 
  
    
      #patch_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Account 
    
    
  
  
  
  
  
  
  
  
  
    Updates an existing account. 
- 
  
    
      #patch_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Budget 
    
    
  
  
  
  
  
  
  
  
  
    Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. 
- 
  
    
      #patch_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfig 
    
    
  
  
  
  
  
  
  
  
  
    Updates an existing pretargeting config. 
- 
  
    
      #patch_proposal(proposal_id, revision_number, update_action, proposal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Proposal 
    
    
  
  
  
  
  
  
  
  
  
    Update the given proposal. 
- 
  
    
      #proposal_setup_complete(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } 
    
    
  
  
  
  
  
  
  
  
  
    Update the given proposal to indicate that setup has been completed. 
- 
  
    
      #remove_creative_deal(account_id, buyer_creative_id, deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } 
    
    
  
  
  
  
  
  
  
  
  
    Remove a deal id associated with the creative. 
- 
  
    
      #search_products(pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetOffersResponse 
    
    
  
  
  
  
  
  
  
  
  
    Gets the requested product. 
- 
  
    
      #search_proposals(pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetOrdersResponse 
    
    
  
  
  
  
  
  
  
  
  
    Search for proposals using pql query. 
- 
  
    
      #update_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Account 
    
    
  
  
  
  
  
  
  
  
  
    Updates an existing account. 
- 
  
    
      #update_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Budget 
    
    
  
  
  
  
  
  
  
  
  
    Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. 
- 
  
    
      #update_marketplace_private_auction_proposal(private_auction_id, update_private_auction_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } 
    
    
  
  
  
  
  
  
  
  
  
    Update a given private auction proposal. 
- 
  
    
      #update_marketplacedeal(proposal_id, edit_all_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::EditAllOrderDealsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Replaces all the deals in the proposal with the passed in deals. 
- 
  
    
      #update_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfig 
    
    
  
  
  
  
  
  
  
  
  
    Updates an existing pretargeting config. 
- 
  
    
      #update_proposal(proposal_id, revision_number, update_action, proposal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Proposal 
    
    
  
  
  
  
  
  
  
  
  
    Update the given proposal. 
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ AdExchangeBuyerService
Returns a new instance of AdExchangeBuyerService
| 50 51 52 53 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 50 def initialize super('https://www.googleapis.com/', 'adexchangebuyer/v1.4/') @batch_path = 'batch/adexchangebuyer/v1.4' end | 
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
| 39 40 41 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 39 def key @key end | 
#quota_user ⇒ String
Returns An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
| 44 45 46 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 44 def quota_user @quota_user end | 
#user_ip ⇒ String
Returns Deprecated. Please use quotaUser instead.
| 48 49 50 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 48 def user_ip @user_ip end | 
Instance Method Details
#add_creative_deal(account_id, buyer_creative_id, deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Add a deal id association for the creative.
| 404 405 406 407 408 409 410 411 412 413 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 404 def add_creative_deal(account_id, buyer_creative_id, deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}', ) command.params['accountId'] = account_id unless account_id.nil? command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil? command.params['dealId'] = deal_id unless deal_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#delete_marketplacedeal_order_deals(proposal_id, delete_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsResponse
Delete the specified deals from the proposal
| 634 635 636 637 638 639 640 641 642 643 644 645 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 634 def delete_marketplacedeal_order_deals(proposal_id, delete_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'proposals/{proposalId}/deals/delete', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsRequest::Representation command.request_object = delete_order_deals_request_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsResponse command.params['proposalId'] = proposal_id unless proposal_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#delete_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes an existing pretargeting config.
| 937 938 939 940 941 942 943 944 945 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 937 def delete_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'pretargetingconfigs/{accountId}/{configId}', ) command.params['accountId'] = account_id unless account_id.nil? command.params['configId'] = config_id unless config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#get_account(id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Account
Gets one account by ID.
| 77 78 79 80 81 82 83 84 85 86 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 77 def get_account(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'accounts/{id}', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Account command.params['id'] = id unless id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#get_billing_info(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::BillingInfo
Returns the billing information for one account specified by account ID.
| 218 219 220 221 222 223 224 225 226 227 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 218 def get_billing_info(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'billinginfo/{accountId}', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::BillingInfo::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::BillingInfo command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#get_budget(account_id, billing_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Budget
Returns the budget information for the adgroup specified by the accountId and billingId.
| 285 286 287 288 289 290 291 292 293 294 295 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 285 def get_budget(account_id, billing_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'billinginfo/{accountId}/{billingId}', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Budget command.params['accountId'] = account_id unless account_id.nil? command.params['billingId'] = billing_id unless billing_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#get_creative(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Creative
Gets the status for a single creative. A creative will be available 30-40 minutes after submission.
| 440 441 442 443 444 445 446 447 448 449 450 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 440 def get_creative(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::Creative::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Creative command.params['accountId'] = account_id unless account_id.nil? command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#get_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfig
Gets a specific pretargeting configuration
| 971 972 973 974 975 976 977 978 979 980 981 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 971 def get_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'pretargetingconfigs/{accountId}/{configId}', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig command.params['accountId'] = account_id unless account_id.nil? command.params['configId'] = config_id unless config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#get_product(product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Product
Gets the requested product by id.
| 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1152 def get_product(product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'products/{productId}', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::Product::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Product command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#get_proposal(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Proposal
Get a proposal given its id
| 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1218 def get_proposal(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'proposals/{proposalId}', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Proposal command.params['proposalId'] = proposal_id unless proposal_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#insert_creative(creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Creative
Submit a new creative.
| 473 474 475 476 477 478 479 480 481 482 483 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 473 def insert_creative(creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'creatives', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Creative::Representation command.request_object = creative_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Creative::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Creative command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#insert_marketplacedeal(proposal_id, add_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::AddOrderDealsResponse
Add new deals for the specified proposal
| 670 671 672 673 674 675 676 677 678 679 680 681 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 670 def insert_marketplacedeal(proposal_id, add_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'proposals/{proposalId}/deals/insert', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::AddOrderDealsRequest::Representation command.request_object = add_order_deals_request_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::AddOrderDealsResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::AddOrderDealsResponse command.params['proposalId'] = proposal_id unless proposal_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#insert_marketplacenote(proposal_id, add_order_notes_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::AddOrderNotesResponse
Add notes to the proposal
| 779 780 781 782 783 784 785 786 787 788 789 790 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 779 def insert_marketplacenote(proposal_id, add_order_notes_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'proposals/{proposalId}/notes/insert', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::AddOrderNotesRequest::Representation command.request_object = add_order_notes_request_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::AddOrderNotesResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::AddOrderNotesResponse command.params['proposalId'] = proposal_id unless proposal_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#insert_pretargeting_config(account_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfig
Inserts a new pretargeting configuration.
| 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1006 def insert_pretargeting_config(account_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'pretargetingconfigs/{accountId}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation command.request_object = pretargeting_config_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#insert_proposal(create_orders_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::CreateOrdersResponse
Create the given list of proposals
| 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1250 def insert_proposal(create_orders_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'proposals/insert', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::CreateOrdersRequest::Representation command.request_object = create_orders_request_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreateOrdersResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::CreateOrdersResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::AccountsList
Retrieves the authenticated user's list of accounts.
| 108 109 110 111 112 113 114 115 116 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 108 def list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'accounts', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::AccountsList::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::AccountsList command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_billing_infos(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::BillingInfoList
Retrieves a list of billing information for all accounts of the authenticated user.
| 250 251 252 253 254 255 256 257 258 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 250 def list_billing_infos(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'billinginfo', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::BillingInfoList::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::BillingInfoList command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_creative_deals(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::CreativeDealIds
Lists the external deal ids associated with the creative.
| 562 563 564 565 566 567 568 569 570 571 572 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 562 def list_creative_deals(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}/listDeals', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds command.params['accountId'] = account_id unless account_id.nil? command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_creatives(account_id: nil, buyer_creative_id: nil, deals_status_filter: nil, max_results: nil, open_auction_status_filter: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::CreativesList
Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.
| 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 522 def list_creatives(account_id: nil, buyer_creative_id: nil, deals_status_filter: nil, max_results: nil, open_auction_status_filter: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'creatives', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreativesList::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::CreativesList command.query['accountId'] = account_id unless account_id.nil? command.query['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil? command.query['dealsStatusFilter'] = deals_status_filter unless deals_status_filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['openAuctionStatusFilter'] = open_auction_status_filter unless open_auction_status_filter.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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_marketplacedeals(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetOrderDealsResponse
List all the deals for a given proposal
| 708 709 710 711 712 713 714 715 716 717 718 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 708 def list_marketplacedeals(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'proposals/{proposalId}/deals', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderDealsResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderDealsResponse command.params['proposalId'] = proposal_id unless proposal_id.nil? command.query['pqlQuery'] = pql_query unless pql_query.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_marketplacenotes(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse
Get all the notes associated with a proposal
| 819 820 821 822 823 824 825 826 827 828 829 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 819 def list_marketplacenotes(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'proposals/{proposalId}/notes', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse command.params['proposalId'] = proposal_id unless proposal_id.nil? command.query['pqlQuery'] = pql_query unless pql_query.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_performance_reports(account_id, end_date_time, start_date_time, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PerformanceReportList
Retrieves the authenticated user's list of performance metrics.
| 898 899 900 901 902 903 904 905 906 907 908 909 910 911 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 898 def list_performance_reports(account_id, end_date_time, start_date_time, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'performancereport', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::PerformanceReportList::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::PerformanceReportList command.query['accountId'] = account_id unless account_id.nil? command.query['endDateTime'] = end_date_time unless end_date_time.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['startDateTime'] = start_date_time unless start_date_time.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_pretargeting_configs(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfigList
Retrieves a list of the authenticated user's pretargeting configurations.
| 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1041 def list_pretargeting_configs(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'pretargetingconfigs/{accountId}', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfigList::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::PretargetingConfigList command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#list_pub_profiles(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse
Gets the requested publisher profile(s) by publisher accountId.
| 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1440 def list_pub_profiles(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'publisher/{accountId}/profiles', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#patch_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Account
Updates an existing account. This method supports patch semantics.
| 143 144 145 146 147 148 149 150 151 152 153 154 155 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 143 def patch_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'accounts/{id}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Account command.params['id'] = id unless id.nil? command.query['confirmUnsafeAccountChange'] = confirm_unsafe_account_change unless confirm_unsafe_account_change.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#patch_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Budget
Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.
| 324 325 326 327 328 329 330 331 332 333 334 335 336 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 324 def patch_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'billinginfo/{accountId}/{billingId}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation command.request_object = budget_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Budget command.params['accountId'] = account_id unless account_id.nil? command.params['billingId'] = billing_id unless billing_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#patch_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfig
Updates an existing pretargeting config. This method supports patch semantics.
| 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1077 def patch_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'pretargetingconfigs/{accountId}/{configId}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation command.request_object = pretargeting_config_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig command.params['accountId'] = account_id unless account_id.nil? command.params['configId'] = config_id unless config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#patch_proposal(proposal_id, revision_number, update_action, proposal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Proposal
Update the given proposal. This method supports patch semantics.
| 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1293 def patch_proposal(proposal_id, revision_number, update_action, proposal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'proposals/{proposalId}/{revisionNumber}/{updateAction}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation command.request_object = proposal_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Proposal command.params['proposalId'] = proposal_id unless proposal_id.nil? command.params['revisionNumber'] = revision_number unless revision_number.nil? command.params['updateAction'] = update_action unless update_action.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#proposal_setup_complete(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Update the given proposal to indicate that setup has been completed.
| 1363 1364 1365 1366 1367 1368 1369 1370 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1363 def proposal_setup_complete(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'proposals/{proposalId}/setupcomplete', ) command.params['proposalId'] = proposal_id unless proposal_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#remove_creative_deal(account_id, buyer_creative_id, deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Remove a deal id associated with the creative.
| 600 601 602 603 604 605 606 607 608 609 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 600 def remove_creative_deal(account_id, buyer_creative_id, deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}', ) command.params['accountId'] = account_id unless account_id.nil? command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil? command.params['dealId'] = deal_id unless deal_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#search_products(pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetOffersResponse
Gets the requested product.
| 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1185 def search_products(pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'products/search', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOffersResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOffersResponse command.query['pqlQuery'] = pql_query unless pql_query.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#search_proposals(pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::GetOrdersResponse
Search for proposals using pql query
| 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1330 def search_proposals(pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'proposals/search', ) command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrdersResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrdersResponse command.query['pqlQuery'] = pql_query unless pql_query.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#update_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Account
Updates an existing account.
| 182 183 184 185 186 187 188 189 190 191 192 193 194 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 182 def update_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'accounts/{id}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Account command.params['id'] = id unless id.nil? command.query['confirmUnsafeAccountChange'] = confirm_unsafe_account_change unless confirm_unsafe_account_change.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#update_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Budget
Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.
| 364 365 366 367 368 369 370 371 372 373 374 375 376 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 364 def update_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'billinginfo/{accountId}/{billingId}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation command.request_object = budget_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Budget command.params['accountId'] = account_id unless account_id.nil? command.params['billingId'] = billing_id unless billing_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#update_marketplace_private_auction_proposal(private_auction_id, update_private_auction_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Update a given private auction proposal
| 854 855 856 857 858 859 860 861 862 863 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 854 def update_marketplace_private_auction_proposal(private_auction_id, update_private_auction_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'privateauction/{privateAuctionId}/updateproposal', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::UpdatePrivateAuctionProposalRequest::Representation command.request_object = update_private_auction_proposal_request_object command.params['privateAuctionId'] = private_auction_id unless private_auction_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#update_marketplacedeal(proposal_id, edit_all_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::EditAllOrderDealsResponse
Replaces all the deals in the proposal with the passed in deals
| 743 744 745 746 747 748 749 750 751 752 753 754 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 743 def update_marketplacedeal(proposal_id, edit_all_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'proposals/{proposalId}/deals/update', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::EditAllOrderDealsRequest::Representation command.request_object = edit_all_order_deals_request_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::EditAllOrderDealsResponse::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::EditAllOrderDealsResponse command.params['proposalId'] = proposal_id unless proposal_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#update_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::PretargetingConfig
Updates an existing pretargeting config.
| 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1116 def update_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'pretargetingconfigs/{accountId}/{configId}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation command.request_object = pretargeting_config_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig command.params['accountId'] = account_id unless account_id.nil? command.params['configId'] = config_id unless config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end | 
#update_proposal(proposal_id, revision_number, update_action, proposal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangebuyerV1_4::Proposal
Update the given proposal
| 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 | # File 'generated/google/apis/adexchangebuyer_v1_4/service.rb', line 1403 def update_proposal(proposal_id, revision_number, update_action, proposal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'proposals/{proposalId}/{revisionNumber}/{updateAction}', ) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation command.request_object = proposal_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Proposal command.params['proposalId'] = proposal_id unless proposal_id.nil? command.params['revisionNumber'] = revision_number unless revision_number.nil? command.params['updateAction'] = update_action unless update_action.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |