create_shopping_campaign
Create a paused Standard Shopping campaign with budget, ad group, product ad, and listing groups. Use a two-phase preview to validate then confirm with a token.
Instructions
Create a Standard Shopping campaign, PAUSED. Two-phase.
Builds budget, campaign, ad group, an empty product ad, and an exhaustive listing group tree: one biddable node per included value, plus a mandatory excluded catch-all for everything else.
Without a token you get a preview validated by the API; call again with the token to create it.
Args: customer_id: Account to create in. Must be allowlisted. campaign_name: Name of the new campaign. daily_budget: Daily budget in account currency. merchant_id: Merchant Center account holding the product feed. feed_label: Feed label, exactly as it appears in Merchant Center. This replaced sales_country. include_values: Values to bid on, e.g. the exact product_type strings from Merchant Center. Everything else is excluded. dimension: product_type_level1/2/3, brand, condition, or item_id. ad_group_name: Defaults to the campaign name. campaign_priority: 0 low, 1 medium, 2 high. Decides which campaign bids when several cover the same product. geo_target_ids: Geo target constant IDs. language_ids: Language constant IDs (1002 French, 1000 English). confirm_token: Token from the preview call. Omit for a preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dimension | No | product_type_level1 | |
| feed_label | Yes | ||
| customer_id | Yes | ||
| merchant_id | Yes | ||
| daily_budget | Yes | ||
| language_ids | No | ||
| ad_group_name | No | ||
| campaign_name | Yes | ||
| confirm_token | No | ||
| geo_target_ids | No | ||
| include_values | Yes | ||
| campaign_priority | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |