{"id":"fc26707d-72d9-4830-a991-aa46cdb93a6c","shortId":"TuKEbA","kind":"skill","title":"amazon-advertising","tagline":"Amazon Advertising integration. Manage data, records, and automate workflows. Use when the user wants to interact with Amazon Advertising data.","description":"# Amazon Advertising\n\nAmazon Advertising is a platform used by businesses and marketers to create and manage advertising campaigns on Amazon's marketplace and other websites. It allows advertisers to reach potential customers as they browse and shop online.\n\nOfficial docs: https://advertising.amazon.com/API/docs/en-us/\n\n## Amazon Advertising Overview\n\n- **Campaigns**\n  - **Ad Groups**\n    - **Ads**\n- **Keywords**\n- **Product Ads**\n- **Budgets**\n- **Reports**\n\n## Working with Amazon Advertising\n\nThis skill uses the Membrane CLI to interact with Amazon Advertising. Membrane handles authentication and credentials refresh automatically — so you can focus on the integration logic rather than auth plumbing.\n\n### Install the CLI\n\nInstall the Membrane CLI so you can run `membrane` from the terminal:\n\n```bash\nnpm install -g @membranehq/cli@latest\n```\n\n### Authentication\n\n```bash\nmembrane login --tenant --clientName=<agentType>\n```\n\nThis will either open a browser for authentication or print an authorization URL to the console, depending on whether interactive mode is available.\n\n**Headless environments:** The command will print an authorization URL. Ask the user to open it in a browser. When they see a code after completing login, finish with:\n\n```bash\nmembrane login complete <code>\n```\n\nAdd `--json` to any command for machine-readable JSON output.\n\n**Agent Types** : claude, openclaw, codex, warp, windsurf, etc. Those will be used to adjust tooling to be used best with your harness\n\n### Connecting to Amazon Advertising\n\nUse `membrane connection ensure` to find or create a connection by app URL or domain:\n\n```bash\nmembrane connection ensure \"https://advertising.amazon.com/\" --json\n```\nThe user completes authentication in the browser. The output contains the new connection id.\n\nThis is the fastest way to get a connection. The URL is normalized to a domain and matched against known apps. If no app is found, one is created and a connector is built automatically.\n\nIf the returned connection has `state: \"READY\"`, skip to **Step 2**.\n\n#### 1b. Wait for the connection to be ready\n\nIf the connection is in `BUILDING` state, poll until it's ready:\n\n```bash\nnpx @membranehq/cli connection get <id> --wait --json\n```\n\nThe `--wait` flag long-polls (up to `--timeout` seconds, default 30) until the state changes. Keep polling until `state` is no longer `BUILDING`.\n\nThe resulting state tells you what to do next:\n\n- **`READY`** — connection is fully set up. Skip to **Step 2**.\n- **`CLIENT_ACTION_REQUIRED`** — the user or agent needs to do something. The `clientAction` object describes the required action:\n  - `clientAction.type` — the kind of action needed:\n    - `\"connect\"` — user needs to authenticate (OAuth, API key, etc.). This covers initial authentication and re-authentication for disconnected connections.\n    - `\"provide-input\"` — more information is needed (e.g. which app to connect to).\n  - `clientAction.description` — human-readable explanation of what's needed.\n  - `clientAction.uiUrl` (optional) — URL to a pre-built UI where the user can complete the action. Show this to the user when present.\n  - `clientAction.agentInstructions` (optional) — instructions for the AI agent on how to proceed programmatically.\n\n  After the user completes the action (e.g. authenticates in the browser), poll again with `membrane connection get <id> --json` to check if the state moved to `READY`.\n\n- **`CONFIGURATION_ERROR`** or **`SETUP_FAILED`** — something went wrong. Check the `error` field for details.\n\n### Searching for actions\n\nSearch using a natural language description of what you want to do:\n\n```bash\nmembrane action list --connectionId=CONNECTION_ID --intent \"QUERY\" --limit 10 --json\n```\n\nYou should always search for actions in the context of a specific connection.\n\nEach result includes `id`, `name`, `description`, `inputSchema` (what parameters the action accepts), and `outputSchema` (what it returns).\n\n## Popular actions\n\n| Name | Key | Description |\n|---|---|---|\n| List Campaigns | list-campaigns | List Sponsored Products campaigns with optional filters for state, name, and portfolio. |\n| List Ad Groups | list-ad-groups | List Sponsored Products ad groups with optional filters for campaign, state, and name. |\n| List Keywords | list-keywords | List Sponsored Products keywords with optional filters for campaign, ad group, and match type. |\n| List Product Ads | list-product-ads | List Sponsored Products product ads with optional filters. |\n| List Targets | list-targets | List Sponsored Products targeting clauses (product and category targets). |\n| List Profiles | list-profiles | List all advertising profiles associated with the account. |\n| Create Campaign | create-campaign | Create a new Sponsored Products campaign with budget, targeting type, and bidding strategy. |\n| Create Ad Group | create-ad-group | Create a new ad group within a Sponsored Products campaign. |\n| Create Keyword | create-keyword | Create a new keyword for a Sponsored Products campaign with match type and optional bid. |\n| Create Product Ad | create-product-ad | Create a new product ad for a SKU (sellers) or ASIN (vendors). |\n| Create Target | create-target | Create a new targeting clause for product or category targeting in Sponsored Products. |\n| Update Campaign | update-campaign | Update an existing Sponsored Products campaign settings like budget, state, or dates. |\n| Update Ad Group | update-ad-group | Update an existing ad group settings like name, default bid, or state. |\n| Update Keyword | update-keyword | Update an existing keyword bid or state. |\n| Update Product Ad | update-product-ad | Update an existing product ad state. |\n| Update Target | update-target | Update an existing targeting clause bid or state. |\n| Delete Campaign | delete-campaign | Archive (delete) a Sponsored Products campaign. |\n| Delete Ad Group | delete-ad-group | Archive (delete) an ad group. |\n| Delete Keyword | delete-keyword | Archive (delete) a keyword. |\n| Delete Product Ad | delete-product-ad | Archive (delete) a product ad. |\n\n### Running actions\n\n```bash\nmembrane action run <actionId> --connectionId=CONNECTION_ID --json\n```\n\nTo pass JSON parameters:\n\n```bash\nmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{\"key\": \"value\"}' --json\n```\n\nThe result is in the `output` field of the response.\n\n\n### Proxy requests\n\nWhen the available actions don't cover your use case, you can send requests directly to the Amazon Advertising API through Membrane's proxy. Membrane automatically appends the base URL to the path you provide and injects the correct authentication headers — including transparent credential refresh if they expire.\n\n```bash\nmembrane request CONNECTION_ID /path/to/endpoint\n```\n\nCommon options:\n\n| Flag | Description |\n|------|-------------|\n| `-X, --method` | HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |\n| `-H, --header` | Add a request header (repeatable), e.g. `-H \"Accept: application/json\"` |\n| `-d, --data` | Request body (string) |\n| `--json` | Shorthand to send a JSON body and set `Content-Type: application/json` |\n| `--rawData` | Send the body as-is without any processing |\n| `--query` | Query-string parameter (repeatable), e.g. `--query \"limit=10\"` |\n| `--pathParam` | Path parameter (repeatable), e.g. `--pathParam \"id=123\"` |\n\n\n## Best practices\n\n- **Always prefer Membrane to talk with external apps** — Membrane provides pre-built actions with built-in auth, pagination, and error handling. This will burn less tokens and make communication more secure\n- **Discover before you build** — run `membrane action list --intent=QUERY` (replace QUERY with your intent) to find existing actions before writing custom API calls. Pre-built actions handle pagination, field mapping, and edge cases that raw API calls miss.\n- **Let Membrane handle credentials** — never ask the user for API keys or tokens. Create a connection instead; Membrane manages the full Auth lifecycle server-side with no local secrets.","tags":["amazon","advertising","application","skills","membranedev","agent-skills","claude-code-skill","claude-skills","membrane"],"capabilities":["skill","source-membranedev","skill-amazon-advertising","topic-agent-skills","topic-claude-code-skill","topic-claude-skills","topic-membrane","topic-skills"],"categories":["application-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/membranedev/application-skills/amazon-advertising","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add membranedev/application-skills","source_repo":"https://github.com/membranedev/application-skills","install_from":"skills.sh"}},"qualityScore":"0.465","qualityRationale":"deterministic score 0.47 from registry signals: · indexed on github topic:agent-skills · 30 github stars · SKILL.md body (8,012 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-29T00:57:10.232Z","embedding":null,"createdAt":"2026-04-18T22:26:32.126Z","updatedAt":"2026-04-29T00:57:10.232Z","lastSeenAt":"2026-04-29T00:57:10.232Z","tsv":"'/api/docs/en-us/':66 '/path/to/endpoint':984 '10':549,1049 '123':1057 '1b':313 '2':312,382 '30':351 'accept':575,1010 'account':683 'action':384,400,405,464,489,526,541,556,574,582,895,898,910,934,1073,1099,1111,1120 'ad':71,73,76,604,608,613,637,644,648,653,703,707,712,741,745,750,794,798,803,826,830,835,862,866,871,884,888,893 'add':195,1003 'adjust':219 'advertis':3,5,22,25,27,40,51,68,82,93,231,678,949 'advertising.amazon.com':65,251 'advertising.amazon.com/api/docs/en-us/':64 'agent':206,389,478 'ai':477 'allow':50 'alway':553,1060 'amazon':2,4,21,24,26,43,67,81,92,230,948 'amazon-advertis':1 'api':413,950,1115,1130,1142 'app':243,287,290,436,1067 'append':957 'application/json':1011,1029 'archiv':855,868,878,889 'as-i':1034 'asin':756 'ask':172,1138 'associ':680 'auth':111,1078,1154 'authent':96,134,147,256,411,419,423,491,970 'author':151,170 'autom':11 'automat':100,301,956 'avail':162,933 'base':959 'bash':128,135,191,247,333,539,896,908,979 'best':224,1058 'bid':700,738,809,821,847 'bodi':1015,1023,1033 'brows':58 'browser':145,180,259,494 'budget':77,696,789 'build':326,363,1096 'built':300,456,1072,1076,1119 'built-in':1075 'burn':1085 'busi':33 'call':1116,1131 'campaign':41,70,587,590,594,619,636,685,688,694,718,732,777,780,786,851,854,860 'case':940,1127 'categori':669,771 'chang':355 'check':503,518 'claud':208 'claus':666,767,846 'cli':88,115,119 'client':383 'clientact':395 'clientaction.agentinstructions':472 'clientaction.description':440 'clientaction.type':401 'clientaction.uiurl':449 'clientnam':139 'code':185 'codex':210 'command':166,199 'common':985 'communic':1090 'complet':187,194,255,462,487 'configur':510 'connect':228,234,241,249,265,275,305,317,323,336,374,407,426,438,499,544,563,901,913,982,1148 'connectionid':543,900,912 'connector':298 'consol':155 'contain':262 'content':1027 'content-typ':1026 'context':559 'correct':969 'cover':417,937 'creat':37,239,295,684,687,689,702,706,709,719,722,724,739,743,746,758,761,763,1146 'create-ad-group':705 'create-campaign':686 'create-keyword':721 'create-product-ad':742 'create-target':760 'credenti':98,974,1136 'custom':55,1114 'd':1012 'data':8,23,1013 'date':792 'default':350,808,998 'delet':850,853,856,861,865,869,873,876,879,882,886,890,997 'delete-ad-group':864 'delete-campaign':852 'delete-keyword':875 'delete-product-ad':885 'depend':156 'describ':397 'descript':532,569,585,988 'detail':523 'direct':945 'disconnect':425 'discov':1093 'doc':63 'domain':246,282 'e.g':434,490,1008,1046,1054 'edg':1126 'either':142 'ensur':235,250 'environ':164 'error':511,520,1081 'etc':213,415 'exist':783,802,819,833,844,1110 'expir':978 'explan':444 'extern':1066 'fail':514 'fastest':270 'field':521,925,1123 'filter':597,617,634,656 'find':237,1109 'finish':189 'flag':342,987 'focus':104 'found':292 'full':1153 'fulli':376 'g':131 'get':273,337,500,993,1000 'group':72,605,609,614,638,704,708,713,795,799,804,863,867,872 'h':1001,1009 'handl':95,1082,1121,1135 'har':227 'header':971,1002,1006 'headless':163 'http':991 'human':442 'human-read':441 'id':266,545,567,902,914,983,1056 'includ':566,972 'inform':431 'initi':418 'inject':967 'input':429,915 'inputschema':570 'instal':113,116,130 'instead':1149 'instruct':474 'integr':6,107 'intent':546,1101,1107 'interact':19,90,159 'json':196,204,252,339,501,550,903,906,918,1017,1022 'keep':356 'key':414,584,916,1143 'keyword':74,624,627,631,720,723,727,813,816,820,874,877,881 'kind':403 'known':286 'languag':531 'latest':133 'less':1086 'let':1133 'lifecycl':1155 'like':788,806 'limit':548,1048 'list':542,586,589,591,603,607,610,623,626,628,642,646,649,657,660,662,671,674,676,1100 'list-ad-group':606 'list-campaign':588 'list-keyword':625 'list-product-ad':645 'list-profil':673 'list-target':659 'local':1161 'logic':108 'login':137,188,193 'long':344 'long-pol':343 'longer':362 'machin':202 'machine-read':201 'make':1089 'manag':7,39,1151 'map':1124 'market':35 'marketplac':45 'match':284,640,734 'membran':87,94,118,124,136,192,233,248,498,540,897,909,952,955,980,1062,1068,1098,1134,1150 'membranehq/cli':132,335 'method':990,992 'miss':1132 'mode':160 'move':507 'name':568,583,600,622,807 'natur':530 'need':390,406,409,433,448 'never':1137 'new':264,691,711,726,748,765 'next':372 'normal':279 'npm':129 'npx':334 'oauth':412 'object':396 'offici':62 'one':293 'onlin':61 'open':143,176 'openclaw':209 'option':450,473,596,616,633,655,737,986 'output':205,261,924 'outputschema':577 'overview':69 'pagin':1079,1122 'paramet':572,907,1044,1052 'pass':905 'patch':996 'path':963,1051 'pathparam':1050,1055 'platform':30 'plumb':112 'poll':328,345,357,495 'popular':581 'portfolio':602 'post':994 'potenti':54 'practic':1059 'pre':455,1071,1118 'pre-built':454,1070,1117 'prefer':1061 'present':471 'print':149,168 'proceed':482 'process':1039 'product':75,593,612,630,643,647,651,652,664,667,693,717,731,740,744,749,769,775,785,825,829,834,859,883,887,892 'profil':672,675,679 'programmat':483 'provid':428,965,1069 'provide-input':427 'proxi':929,954 'put':995 'queri':547,1040,1042,1047,1102,1104 'query-str':1041 'rather':109 'raw':1129 'rawdata':1030 're':422 're-authent':421 'reach':53 'readabl':203,443 'readi':308,320,332,373,509 'record':9 'refresh':99,975 'repeat':1007,1045,1053 'replac':1103 'report':78 'request':930,944,981,1005,1014 'requir':385,399 'respons':928 'result':365,565,920 'return':304,580 'run':123,894,899,911,1097 'search':524,527,554 'second':349 'secret':1162 'secur':1092 'see':183 'seller':754 'send':943,1020,1031 'server':1157 'server-sid':1156 'set':377,787,805,1025 'setup':513 'shop':60 'shorthand':1018 'show':465 'side':1158 'skill':84 'skill-amazon-advertising' 'skip':309,379 'sku':753 'someth':393,515 'source-membranedev' 'specif':562 'sponsor':592,611,629,650,663,692,716,730,774,784,858 'state':307,327,354,359,366,506,599,620,790,811,823,836,849 'step':311,381 'strategi':701 'string':1016,1043 'talk':1064 'target':658,661,665,670,697,759,762,766,772,838,841,845 'tell':367 'tenant':138 'termin':127 'timeout':348 'token':1087,1145 'tool':220 'topic-agent-skills' 'topic-claude-code-skill' 'topic-claude-skills' 'topic-membrane' 'topic-skills' 'transpar':973 'type':207,641,698,735,1028 'ui':457 'updat':776,779,781,793,797,800,812,815,817,824,828,831,837,840,842 'update-ad-group':796 'update-campaign':778 'update-keyword':814 'update-product-ad':827 'update-target':839 'url':152,171,244,277,451,960 'use':13,31,85,217,223,232,528,939 'user':16,174,254,387,408,460,469,486,1140 'valu':917 'vendor':757 'wait':314,338,341 'want':17,536 'warp':211 'way':271 'websit':48 'went':516 'whether':158 'windsurf':212 'within':714 'without':1037 'work':79 'workflow':12 'write':1113 'wrong':517 'x':989","prices":[{"id":"f8d8af82-2471-438e-9a03-df238650702f","listingId":"fc26707d-72d9-4830-a991-aa46cdb93a6c","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"membranedev","category":"application-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T22:26:32.126Z"}],"sources":[{"listingId":"fc26707d-72d9-4830-a991-aa46cdb93a6c","source":"github","sourceId":"membranedev/application-skills/amazon-advertising","sourceUrl":"https://github.com/membranedev/application-skills/tree/main/skills/amazon-advertising","isPrimary":false,"firstSeenAt":"2026-04-18T22:26:32.126Z","lastSeenAt":"2026-04-29T00:57:10.232Z"}],"details":{"listingId":"fc26707d-72d9-4830-a991-aa46cdb93a6c","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"membranedev","slug":"amazon-advertising","github":{"repo":"membranedev/application-skills","stars":30,"topics":["agent-skills","claude-code-skill","claude-skills","membrane","skills"],"license":null,"html_url":"https://github.com/membranedev/application-skills","pushed_at":"2026-04-28T08:45:44Z","description":null,"skill_md_sha":"d2f6f989b264ff00c426e0c5919ba00d31636121","skill_md_path":"skills/amazon-advertising/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/membranedev/application-skills/tree/main/skills/amazon-advertising"},"layout":"multi","source":"github","category":"application-skills","frontmatter":{"name":"amazon-advertising","license":"MIT","description":"Amazon Advertising integration. Manage data, records, and automate workflows. Use when the user wants to interact with Amazon Advertising data.","compatibility":"Requires network access and a valid Membrane account (Free tier supported)."},"skills_sh_url":"https://skills.sh/membranedev/application-skills/amazon-advertising"},"updatedAt":"2026-04-29T00:57:10.232Z"}}