Class: Google::Apis::AdexchangesellerV1_1::AdExchangeSellerService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::AdexchangesellerV1_1::AdExchangeSellerService
- Defined in:
- generated/google/apis/adexchangeseller_v1_1/service.rb
Overview
Ad Exchange Seller API
Accesses the inventory of Ad Exchange seller users and generates reports.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
IP address of the site where the request originates.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#generate_report(start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Report
Generate an Ad Exchange report based on the report request sent in the query parameters.
-
#generate_report_saved(saved_report_id, locale: nil, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Report
Generate an Ad Exchange report based on the saved report ID sent in the query parameters.
-
#get_account(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Account
Get information about the selected Ad Exchange account.
-
#get_adunit(ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::AdUnit
Gets the specified ad unit in the specified ad client.
-
#get_customchannel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::CustomChannel
Get the specified custom channel from the specified ad client.
-
#get_preferreddeal(deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::PreferredDeal
Get information about the selected Ad Exchange Preferred Deal.
-
#initialize ⇒ AdExchangeSellerService
constructor
A new instance of AdExchangeSellerService.
-
#list_adclients(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::AdClients
List all ad clients in this Ad Exchange account.
-
#list_adunit_customchannels(ad_client_id, ad_unit_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::CustomChannels
List all custom channels which the specified ad unit belongs to.
-
#list_adunits(ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::AdUnits
List all ad units in the specified ad client for this Ad Exchange account.
-
#list_alerts(locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Alerts
List the alerts for this Ad Exchange account.
-
#list_customchannel_adunits(ad_client_id, custom_channel_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::AdUnits
List all ad units in the specified custom channel.
-
#list_customchannels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::CustomChannels
List all custom channels in the specified ad client for this Ad Exchange account.
-
#list_metadatum_dimensions(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Metadata
List the metadata for the dimensions available to this AdExchange account.
-
#list_metadatum_metrics(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Metadata
List the metadata for the metrics available to this AdExchange account.
-
#list_preferreddeals(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::PreferredDeals
List the preferred deals for this Ad Exchange account.
-
#list_report_saveds(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::SavedReports
List all saved reports in this Ad Exchange account.
-
#list_urlchannels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::UrlChannels
List all URL channels in the specified ad client for this Ad Exchange account.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ AdExchangeSellerService
Returns a new instance of AdExchangeSellerService
51 52 53 54 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 51 def initialize super('https://www.googleapis.com/', 'adexchangeseller/v1.1/') @batch_path = 'batch/adexchangeseller/v1.1' 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.
38 39 40 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns 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. Overrides userIp if both are provided.
44 45 46 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 44 def quota_user @quota_user end |
#user_ip ⇒ String
Returns IP address of the site where the request originates. Use this if you want to enforce per-user limits.
49 50 51 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 49 def user_ip @user_ip end |
Instance Method Details
#generate_report(start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Report
Generate an Ad Exchange report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter.
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 607 def generate_report(start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'reports', ) else command = make_download_command(:get, 'reports', ) command.download_dest = download_dest end command.response_representation = Google::Apis::AdexchangesellerV1_1::Report::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::Report command.query['dimension'] = dimension unless dimension.nil? command.query['endDate'] = end_date unless end_date.nil? command.query['filter'] = filter unless filter.nil? command.query['locale'] = locale unless locale.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['metric'] = metric unless metric.nil? command.query['sort'] = sort unless sort.nil? command.query['startDate'] = start_date unless start_date.nil? command.query['startIndex'] = start_index unless start_index.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 |
#generate_report_saved(saved_report_id, locale: nil, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Report
Generate an Ad Exchange report based on the saved report ID sent in the query parameters.
663 664 665 666 667 668 669 670 671 672 673 674 675 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 663 def generate_report_saved(saved_report_id, locale: nil, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'reports/{savedReportId}', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::Report::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::Report command.params['savedReportId'] = saved_report_id unless saved_report_id.nil? command.query['locale'] = locale unless locale.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['startIndex'] = start_index unless start_index.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(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Account
Get information about the selected Ad Exchange account.
80 81 82 83 84 85 86 87 88 89 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 80 def get_account(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'accounts/{accountId}', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::Account::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::Account 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_adunit(ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::AdUnit
Gets the specified ad unit in the specified ad client.
157 158 159 160 161 162 163 164 165 166 167 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 157 def get_adunit(ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::AdUnit::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::AdUnit command.params['adClientId'] = ad_client_id unless ad_client_id.nil? command.params['adUnitId'] = ad_unit_id unless ad_unit_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_customchannel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::CustomChannel
Get the specified custom channel from the specified ad client.
324 325 326 327 328 329 330 331 332 333 334 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 324 def get_customchannel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::CustomChannel::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::CustomChannel command.params['adClientId'] = ad_client_id unless ad_client_id.nil? command.params['customChannelId'] = custom_channel_id unless custom_channel_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_preferreddeal(deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::PreferredDeal
Get information about the selected Ad Exchange Preferred Deal.
517 518 519 520 521 522 523 524 525 526 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 517 def get_preferreddeal(deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'preferreddeals/{dealId}', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::PreferredDeal::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::PreferredDeal 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 |
#list_adclients(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::AdClients
List all ad clients in this Ad Exchange account.
119 120 121 122 123 124 125 126 127 128 129 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 119 def list_adclients(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'adclients', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::AdClients::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::AdClients command.query['maxResults'] = max_results unless max_results.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_adunit_customchannels(ad_client_id, ad_unit_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::CustomChannels
List all custom channels which the specified ad unit belongs to.
247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 247 def list_adunit_customchannels(ad_client_id, ad_unit_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::CustomChannels::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::CustomChannels command.params['adClientId'] = ad_client_id unless ad_client_id.nil? command.params['adUnitId'] = ad_unit_id unless ad_unit_id.nil? command.query['maxResults'] = max_results unless max_results.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_adunits(ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::AdUnits
List all ad units in the specified ad client for this Ad Exchange account.
200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 200 def list_adunits(ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'adclients/{adClientId}/adunits', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::AdUnits::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::AdUnits command.params['adClientId'] = ad_client_id unless ad_client_id.nil? command.query['includeInactive'] = include_inactive unless include_inactive.nil? command.query['maxResults'] = max_results unless max_results.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_alerts(locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Alerts
List the alerts for this Ad Exchange account.
287 288 289 290 291 292 293 294 295 296 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 287 def list_alerts(locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'alerts', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::Alerts::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::Alerts command.query['locale'] = locale unless locale.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_customchannel_adunits(ad_client_id, custom_channel_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::AdUnits
List all ad units in the specified custom channel.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 414 def list_customchannel_adunits(ad_client_id, custom_channel_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::AdUnits::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::AdUnits command.params['adClientId'] = ad_client_id unless ad_client_id.nil? command.params['customChannelId'] = custom_channel_id unless custom_channel_id.nil? command.query['includeInactive'] = include_inactive unless include_inactive.nil? command.query['maxResults'] = max_results unless max_results.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_customchannels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::CustomChannels
List all custom channels in the specified ad client for this Ad Exchange account.
368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 368 def list_customchannels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'adclients/{adClientId}/customchannels', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::CustomChannels::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::CustomChannels command.params['adClientId'] = ad_client_id unless ad_client_id.nil? command.query['maxResults'] = max_results unless max_results.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_metadatum_dimensions(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Metadata
List the metadata for the dimensions available to this AdExchange account.
451 452 453 454 455 456 457 458 459 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 451 def (fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'metadata/dimensions', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::Metadata::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::Metadata 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_metadatum_metrics(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::Metadata
List the metadata for the metrics available to this AdExchange account.
483 484 485 486 487 488 489 490 491 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 483 def (fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'metadata/metrics', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::Metadata::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::Metadata 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_preferreddeals(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::PreferredDeals
List the preferred deals for this Ad Exchange account.
550 551 552 553 554 555 556 557 558 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 550 def list_preferreddeals(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'preferreddeals', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::PreferredDeals::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::PreferredDeals 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_report_saveds(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::SavedReports
List all saved reports in this Ad Exchange account.
706 707 708 709 710 711 712 713 714 715 716 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 706 def list_report_saveds(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'reports/saved', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::SavedReports::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::SavedReports command.query['maxResults'] = max_results unless max_results.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_urlchannels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AdexchangesellerV1_1::UrlChannels
List all URL channels in the specified ad client for this Ad Exchange account.
748 749 750 751 752 753 754 755 756 757 758 759 |
# File 'generated/google/apis/adexchangeseller_v1_1/service.rb', line 748 def list_urlchannels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'adclients/{adClientId}/urlchannels', ) command.response_representation = Google::Apis::AdexchangesellerV1_1::UrlChannels::Representation command.response_class = Google::Apis::AdexchangesellerV1_1::UrlChannels command.params['adClientId'] = ad_client_id unless ad_client_id.nil? command.query['maxResults'] = max_results unless max_results.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 |