Logo di Amazon Ads Spglobal

Amazon Ads Spglobal

Community
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.

Panoramica

Pubblicato dawjwwwww
Repositoryamazon-ads-api-skills
Nome della skillamazon-ads-spglobal
Stelle
30
Fork
2
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da wjwwwww su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Amazon Ads Spglobal in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/amazon-ads-spglobal
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Amazon Ads Spglobal in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Amazon Ads Spglobal non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Amazon Ads Spglobal non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Amazon Ads Spglobal su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Amazon Ads Spglobal è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Amazon Ads Spglobal in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/amazon-ads-spglobal. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Amazon Ads Spglobal?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Amazon Ads Spglobal?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Amazon Ads Spglobal: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Amazon Ads Spglobal è gratuita?

Sì. È pubblicata su GitHub da wjwwwww con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇