Class: AmazonAds::BrandStores

Inherits:
API
  • Object
show all
Defined in:
lib/amazon_ads/apis/brand_stores.rb

Constant Summary

Constants inherited from API

API::ENDPOINTS

Instance Attribute Summary

Attributes inherited from API

#access_token, #account_id, #profile_id, #region, #retries

Instance Method Summary collapse

Methods inherited from API

#endpoint, #http, #initialize

Constructor Details

This class inherits a constructor from AmazonAds::API

Instance Method Details

#query_brand_store(store_name_filter:, max_results: nil, next_token: nil) ⇒ Object

Query brand store content

Signature:

  • (store_name_filter: untyped, ?max_results: Integer?, ?next_token: String?) -> HTTP::Response



7
8
9
# File 'lib/amazon_ads/apis/brand_stores.rb', line 7

def query_brand_store(store_name_filter:, max_results: nil, next_token: nil)
  request(:post, "/adsApi/v1/query/brandStores", json: { "maxResults" => max_results, "nextToken" => next_token, "storeNameFilter" => store_name_filter }.compact)
end