- Test:
bundle exec rake test - Lint:
bundle exec rake rubocop - Type check:
bundle exec rake steep - All checks:
bundle exec rake
- Inline RBS; attribute types go trailing (
attr_reader :name #: String), method types leading (#: () -> String) - git: 50/72
- No emojis, em dashes
- All files in
lib/amazon_ads/apis/andlib/amazon_ads/errors.rbare auto-generated; never hand-edit them - Stateless LWA: each call to
LWA#requesthits the token endpoint; the caller owns token caching - API classes take
access_tokendirectly; no in-process token management - 4xx/5xx responses raise
AmazonAds::Error(status checked after perform, never via an http feature, so bodies survive); transport errors pass through raw - VCR cassettes replay only on CI; re-recording needs real credentials in
test/.envand scrubs advertiser identifiers via thebefore_recordhook
- API overview: https://advertising.amazon.com/API/docs/en-us/reference/api-overview
- SDK generation guide: https://advertising.amazon.com/API/docs/en-us/guides/get-started/generate-sdk
- v1 merged spec: https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPIALLMerged_prod_3p.json
- Profiles spec: https://d3a0d0y2hgofx6.cloudfront.net/openapi/en-us/profiles/3-0/openapi.yaml
- Reporting spec: https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/OfflineReport_prod_3p.json
- Marketing Stream spec: https://dtrnk0o2zy01c.cloudfront.net/openapi/en-us/dest/AmazonMarketingStream_prod_3p.json
