Logo de Amazon Ads Spglobal

Amazon Ads Spglobal

Comunidade
wjwwwww
amazon-ads-spglobal

Use when a developer needs to integrate Amazon Ads SP Global Campaigns — managing Sponsored Products campaigns across multiple marketplaces simultaneously via the Unified API (/adsApi/v1/). Covers global campaign creation, per-marketplace overrides, multi-marketplace budgets/bids, product mapping, and differences from single-marketplace SP campaigns.

Visão geral

Publicado porwjwwwww
Repositórioamazon-ads-api-skills
Nome da habilidadeamazon-ads-spglobal
Estrelas
30
Forks
2
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por wjwwwww no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Amazon Ads Spglobal no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/amazon-ads-spglobal
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wjwwwww/amazon-ads-api-skills.git /tmp/amazon-ads-api-skills
mkdir -p .claude/skills
cp -r /tmp/amazon-ads-api-skills/skills/amazon-ads-spglobal .claude/skills/amazon-ads-spglobal
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Amazon Ads Spglobal em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Amazon Ads Spglobal automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Amazon Ads Spglobal não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Amazon Ads SP Global Campaigns — Integration Guide

1. What is SP Global Campaigns?

SP Global (Sponsored Products Global) is a product designed to simplify managing Sponsored Products advertising across multiple Amazon marketplaces from a single campaign. Instead of creating separate campaigns per country, advertisers create one global campaign that spans multiple marketplaces (US, UK, DE, FR, JP, etc.) with per-marketplace overrides for budget, bid, state, and product ASINs.

Target Users

  • Sellers/vendors advertising in 2+ countries looking for efficiency
  • Sellers/vendors expanding into new countries
  • API integrators building multi-marketplace campaign management tools

Key Value Propositions

  • One campaign → multiple marketplaces: Create once, manage everywhere
  • Per-marketplace overrides: Customize budget, bid, state, name per country without separate campaigns
  • Auto-scale: Optionally auto-expand to new marketplaces as they become available
  • Unified management: Single API call to query/update across all marketplaces

2. Relationship to SP Unified API

SPG uses the same 19 endpoints as SP Unified API:

/adsApi/v1/{create|query|update|delete}/{campaigns|adGroups|ads|targets|adExtensions}

The difference is entirely in the schema structure — SPG schemas are prefixed SPGlobal* and add marketplace-aware fields to every resource.

Architectural Comparison

AspectSP (Single Marketplace)SPG (Global)
Design1 campaign = 1 marketplace1 campaign = N marketplaces
Schema prefixSP*SPGlobal*
marketplaceScopeOptionalRequired (always GLOBAL)
marketplaces[]OptionalRequired on all creates
BudgetSingle valuePer-marketplace marketplaceSettings[]
BidSingle defaultBidPer-marketplace marketplaceSettings[]
Product ASINSingle productIdPer-marketplace marketplaceSettings[{marketplace, productId}]
State overrideN/AmarketplaceConfigurations[].overrides.state
AccountId headerOptionalRequired
Scope headerSupportedNot used

3. Headers

bash
# Required
-H "Amazon-Ads-AccountId: ${ACCOUNT_ID}"     # REQUIRED (not optional like SP)
-H "Amazon-Ads-ClientId: ${CLIENT_ID}"
-H "Authorization: Bearer ${ACCESS_TOKEN}"
-H "Content-Type: application/json"

# NOT used in SPG (unlike SP):
# -H "Amazon-Advertising-API-Scope: ${PROFILE_ID}"

4. SPG-Specific Concepts

4.1 marketplaceScope (Required on all creates)

Always "GLOBAL". Marks the resource as a global (multi-marketplace) resource.

4.2 marketplaces[] (Required on all creates)

Array of country codes where this resource applies. Must be a subset of parent resource's marketplaces.

json
"marketplaces": ["US", "GB", "DE", "FR", "IT", "ES"]

Supported marketplaces: AE, AU, BE, BR, CA, DE, EG, ES, FR, GB, IN, IT, JP, MX, NL, PL, SA, SE, SG, TR, US

4.3 marketplaceConfigurations[] (Per-marketplace overrides)

Every resource (campaign, adGroup, ad, target) supports per-marketplace overrides. When not specified, the global value applies.

json
"marketplaceConfigurations": [
  {
    "marketplace": "DE",
    "overrides": {
      "state": "PAUSED",
      "name": "SP Campaign - Germany (Paused)"
    }
  }
]

Campaign overridable fields: state, name, startDateTime, endDateTime, optimizations, tags AdGroup overridable fields: state, name, tags Ad overridable fields: state, tags Target overridable fields: state, tags, targetDetails (keyword/theme only)

4.4 autoScaleGlobalCampaign

Controls whether the campaign auto-expands to new marketplaces.

ValueBehavior
AUTOAuto-add new marketplaces as they become available
MANUALOnly expand when explicitly updated

4.5 targetLevel

SPG targets can be attached at two levels:

ValueMeaning
AD_GROUPTarget belongs to an ad group (standard)
CAMPAIGNTarget belongs to the campaign directly (negative targets)

4.6 siteRestrictions

Restrict ad delivery to specific Amazon properties:

ValueDescription
AMAZON_BUSINESSOnly show on Amazon Business
AMAZON_HAULOnly show on Amazon Haul

4.7 BidStrategy (includes NEW_TO_BRAND)

StrategyDescription
MANUALUses exact bid, no dynamic adjustments
SALES_DOWN_ONLYDecreases bids when less likely to convert
SALES_UP_AND_DOWNIncreases/decreases bids by up to 100%
RULE_BASEDApplies advertiser-defined bidding rules
NEW_TO_BRANDSPG-only — Optimizes for new-to-brand customer acquisitions

4.8 nativeLanguageKeyword

Keywords support native language with locale:

json
{
  "keyword": "手机壳",
  "matchType": "BROAD",
  "nativeLanguageKeyword": "手机壳",
  "nativeLanguageLocale": "zh_CN"
}

5. Campaign Create

Required Fields

FieldTypeDescription
adProduct"SPONSORED_PRODUCTS"Always SPONSORED_PRODUCTS
marketplaceScope"GLOBAL"Always GLOBAL
namestringCampaign name
stateENABLED or PAUSEDInitial state
startDateTimedatetimeStart time
autoCreationSettingsobject{autoCreateTargets: boolean}
budgetsarrayPer-marketplace budget settings

Budget Structure (Per-Marketplace)

json
"budgets": [{
  "budgetType": "MONETARY",
  "budgetValue": {
    "monetaryBudgetValue": {
      "marketplaceSettings": [
        {"marketplace": "US", "monetaryBudget": {"value": 50.00}},
        {"marketplace": "GB", "monetaryBudget": {"value": 40.00}},
        {"marketplace": "DE", "monetaryBudget": {"value": 45.00}}
      ]
    }
  },
  "recurrenceTimePeriod": "DAILY"
}]

Complete Campaign Create Example

json
POST /adsApi/v1/create/campaigns

{
  "campaigns": [{
    "adProduct": "SPONSORED_PRODUCTS",
    "marketplaceScope": "GLOBAL",
    "marketplaces": ["US", "GB", "DE"],
    "name": "SP Global - Electronics Q4",
    "state": "ENABLED",
    "startDateTime": "2026-10-01T00:00:00Z",
    "autoCreationSettings": {"autoCreateTargets": true},
    "budgets": [{
      "budgetType": "MONETARY",
      "budgetValue": {
        "monetaryBudgetValue": {
          "marketplaceSettings": [
            {"marketplace": "US", "monetaryBudget": {"value": 100.00}},
            {"marketplace": "GB", "monetaryBudget": {"value": 80.00}},
            {"marketplace": "DE", "monetaryBudget": {"value": 90.00}}
          ]
        }
      },
      "recurrenceTimePeriod": "DAILY"
    }],
    "optimizations": {
      "bidSettings": {
        "bidStrategy": "SALES_UP_AND_DOWN",
        "bidAdjustments": {
          "placementBidAdjustments": [
            {"placement": "TOP_OF_SEARCH", "percentage": 50}
          ]
        }
      }
    },
    "marketplaceConfigurations": [
      {
        "marketplace": "DE",
        "overrides": {
          "name": "SP Global - Elektronik Q4",
          "startDateTime": "2026-10-02T00:00:00Z"
        }
      }
    ]
  }]
}

6. AdGroup Create

Required Fields

FieldTypeDescription
adProduct"SPONSORED_PRODUCTS"Always
marketplaceScope"GLOBAL"Always
marketplacesarraySubset of campaign's marketplaces
campaignIdstringParent campaign
namestringAd group name
stateENABLED/PAUSEDInitial state
bidobjectPer-marketplace bid settings

Bid Structure (Per-Marketplace)

json
"bid": {
  "marketplaceSettings": [
    {"marketplace": "US", "currencyCode": "USD", "defaultBid": 1.50},
    {"marketplace": "GB", "currencyCode": "GBP", "defaultBid": 1.20},
    {"marketplace": "DE", "currencyCode": "EUR", "defaultBid": 1.30}
  ]
}

Complete AdGroup Create Example

json
POST /adsApi/v1/create/adGroups

{
  "adGroups": [{
    "adProduct": "SPONSORED_PRODUCTS",
    "marketplaceScope": "GLOBAL",
    "marketplaces": ["US", "GB", "DE"],
    "campaignId": "CAMPAIGN_ID",
    "name": "Phone Cases - All Markets",
    "state": "ENABLED",
    "bid": {
      "marketplaceSettings": [
        {"marketplace": "US", "currencyCode": "USD", "defaultBid": 1.50},
        {"marketplace": "GB", "currencyCode": "GBP", "defaultBid": 1.20},
        {"marketplace": "DE", "currencyCode": "EUR", "defaultBid": 1.30}
      ]
    }
  }]
}

7. Ad Create (Product Ad with Per-Marketplace ASIN)

Required Fields

FieldTypeDescription
adProduct"SPONSORED_PRODUCTS"Always
adType"PRODUCT_AD"Always PRODUCT_AD
marketplaceScope"GLOBAL"Always
marketplacesarraySubset of adGroup's marketplaces
adGroupIdstringParent ad group
stateENABLED/PAUSEDInitial state
creativeobjectPer-marketplace product settings

Per-Marketplace Product Creative

json
POST /adsApi/v1/create/ads

{
  "ads": [{
    "adProduct": "SPONSORED_PRODUCTS",
    "adType": "PRODUCT_AD",
    "marketplaceScope": "GLOBAL",
    "marketplaces": ["US", "GB", "DE"],
    "adGroupId": "AD_GROUP_ID",
    "state": "ENABLED",
    "creative": {
      "productCreative": {
        "productCreativeSettings": {
          "advertisedProduct": {
            "productIdType": "ASIN",
            "marketplaceSettings": [
              {"marketplace": "US", "productId": "B0ASIN_US"},
              {"marketplace": "GB", "productId": "B0ASIN_UK"},
              {"marketplace": "DE", "productId": "B0ASIN_DE"}
            ]
          }
        }
      }
    }
  }]
}

Note: globalStoreSetting.catalogSourceMarketplace can be used to specify where the product catalog is sourced from for a particular marketplace.

8. Target Create

Required Fields

FieldTypeDescription
adProduct"SPONSORED_PRODUCTS"Always
marketplaceScope"GLOBAL"Always
marketplacesarrayWhere this target applies
negativebooleanIs it a negative target?
stateENABLED/PAUSEDInitial state
targetTypeenumKEYWORD, PRODUCT, PRODUCT_CATEGORY, THEME
targetDetailsobjectTarget-type-specific details

Target Types

targetTypetargetDetails keyDescription
KEYWORDkeywordTargetCustomer search term targeting
PRODUCTproductTargetSpecific ASIN targeting
PRODUCT_CATEGORYproductCategoryTargetCategory targeting with refinements
THEMEthemeTargetAuto-targets (close match, loose match, complements, substitutes)

Keyword Target Example

json
POST /adsApi/v1/create/targets

{
  "targets": [{
    "adProduct": "SPONSORED_PRODUCTS",
    "marketplaceScope": "GLOBAL",
    "marketplaces": ["US", "GB", "DE"],
    "adGroupId": "AD_GROUP_ID",
    "negative": false,
    "state": "ENABLED",
    "targetType": "KEYWORD",
    "targetDetails": {
      "keywordTarget": {
        "keyword": "phone case",
        "matchType": "BROAD"
      }
    },
    "bid": {
      "marketplaceSettings": [
        {"marketplace": "US", "currencyCode": "USD", "bid": 2.00},
        {"marketplace": "GB", "currencyCode": "GBP", "bid": 1.60},
        {"marketplace": "DE", "currencyCode": "EUR", "bid": 1.80}
      ]
    },
    "marketplaceConfigurations": [
      {
        "marketplace": "DE",
        "overrides": {
          "targetDetails": {
            "keywordTarget": {
              "keyword": "Handyhülle",
              "matchType": "BROAD"
            }
          }
        }
      }
    ]
  }]
}

Product Target Example (Per-Marketplace ASIN)

json
{
  "targets": [{
    "adProduct": "SPONSORED_PRODUCTS",
    "marketplaceScope": "GLOBAL",
    "marketplaces": ["US", "GB"],
    "adGroupId": "AD_GROUP_ID",
    "negative": false,
    "state": "ENABLED",
    "targetType": "PRODUCT",
    "targetDetails": {
      "productTarget": {
        "matchType": "PRODUCT_EXACT",
        "productIdType": "ASIN",
        "product": {
          "marketplaceSettings": [
            {"marketplace": "US", "productId": "B0COMPETITOR_US"},
            {"marketplace": "GB", "productId": "B0COMPETITOR_UK"}
          ]
        }
      }
    }
  }]
}

9. SP Features NOT Available in SPG

FeatureSPSPGNotes
Video / Spotlight creative✅❌SPG is product ads only
Audience bid adjustment✅❌
Creative bid adjustment (Spotlight)✅❌
Location targeting✅❌
Off-Amazon budget control strategy✅❌
Marketplace budget allocation (AUTO/MANUAL)✅❌SPG uses explicit per-marketplace budgets
Update creative content✅❌
Keyword filter on query✅❌
Marketplaces: IE, ZA✅❌Not yet supported in SPG
NEW_TO_BRAND bid strategy❌✅SPG-only

10. Common Integration Patterns

Pattern A: Expand existing campaign to a new marketplace

json
PUT /adsApi/v1/update/campaigns

{
  "campaigns": [{
    "campaignId": "CAMPAIGN_ID",
    "marketplaces": ["US", "GB", "DE", "FR"]
  }]
}

Then add budget for the new marketplace and update ad group/ad/target marketplaces accordingly.

Pattern B: Pause in one marketplace only

json
PUT /adsApi/v1/update/campaigns

{
  "campaigns": [{
    "campaignId": "CAMPAIGN_ID",
    "marketplaceConfigurations": [
      {"marketplace": "DE", "overrides": {"state": "PAUSED"}}
    ]
  }]
}

Pattern C: Different keyword per marketplace

Use marketplaceConfigurations on targets to override targetDetails:

json
{
  "targetDetails": {"keywordTarget": {"keyword": "phone case", "matchType": "BROAD"}},
  "marketplaceConfigurations": [
    {"marketplace": "DE", "overrides": {"targetDetails": {"keywordTarget": {"keyword": "Handyhülle", "matchType": "BROAD"}}}},
    {"marketplace": "FR", "overrides": {"targetDetails": {"keywordTarget": {"keyword": "coque téléphone", "matchType": "BROAD"}}}}
  ]
}

11. FAQ

Q: Can I mix SP and SPG campaigns under the same account? A: Yes. They are different campaign types managed independently.

Q: What happens if I don't specify marketplaceConfigurations? A: The global value applies uniformly to all marketplaces.

Q: Can I use different bid strategies per marketplace? A: No. bidStrategy is campaign-level (global). Only bid values can differ per marketplace.

Q: How does autoScaleGlobalCampaign: AUTO work? A: When new marketplaces become available for the account, the campaign auto-expands to include them.

Q: What's the currencyCode in bid/budget marketplace settings? A: Must match the marketplace's local currency (USD for US, GBP for GB, EUR for DE/FR/IT/ES, etc.).

Q: Can I create a global campaign with just one marketplace? A: Yes. You can start with one marketplace and expand later.

Q: What's targetLevel: CAMPAIGN used for? A: Campaign-level negative targets that apply across all ad groups in the campaign.

Perguntas frequentes

O que a habilidade de IA Amazon Ads Spglobal faz?

Use when a developer needs to integrate Amazon Ads SP Global Campaigns — managing Sponsored Products campaigns across multiple marketplaces simultaneously via the Unified API (/adsApi/v1/). Covers global campaign creation, per-marketplace overrides, multi-marketplace budgets/bids, product mapping, and differences from single-marketplace SP campaigns.

Por que usar Amazon Ads Spglobal no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Amazon Ads Spglobal é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Amazon Ads Spglobal no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/amazon-ads-spglobal. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Amazon Ads Spglobal?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Amazon Ads Spglobal?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Amazon Ads Spglobal com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Amazon Ads Spglobal é gratuita?

Sim. A habilidade é publicada no GitHub por wjwwwww sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇