Skip to content

Commit

Permalink
Update PMax retail example to use Global Offers / feedLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfrg committed Oct 20, 2023
1 parent 7637555 commit 4d09bb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/shopping_ads/add_performance_max_retail_campaign.rb
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ def create_performance_max_campaign_operation(
# Set the shopping settings.
c.shopping_setting = client.resource.shopping_setting do |ss|
ss.merchant_id = merchant_center_account_id
# Optional: To use products only from a specific feed, set feed_label
# to the feed label used in Merchant Center.
# See: https://support.google.com/merchants/answer/12453549.
# Omitting the feed_label field will use products from all feeds.
# feed_label = "INSERT_FEED_LABEL_HERE"
end

# Set the Final URL expansion opt out. This flag is specific to
Expand Down

0 comments on commit 4d09bb9

Please sign in to comment.