Logo : Amazon Ads Spglobal

Amazon Ads Spglobal

Communauté
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.

Présentation

Éditeurwjwwwww
Dépôtamazon-ads-api-skills
Nom de la compétenceamazon-ads-spglobal
Étoiles
30
Forks
2
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par wjwwwww sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Amazon Ads Spglobal dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/amazon-ads-spglobal
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Amazon Ads Spglobal dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Amazon Ads Spglobal dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Amazon Ads Spglobal n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Foire aux questions

À quoi sert la compétence 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.

Pourquoi utiliser Amazon Ads Spglobal sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Amazon Ads Spglobal se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Amazon Ads Spglobal dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/amazon-ads-spglobal. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Amazon Ads Spglobal ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Amazon Ads Spglobal ?

Autant que vous le souhaitez. Vous pouvez utiliser Amazon Ads Spglobal avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Amazon Ads Spglobal est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par wjwwwww sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇