Assigning an AdCustomizer row to multiple AdGroups

59 views
Skip to first unread message

Paris Theofanidis

unread,
Apr 26, 2017, 11:47:28 AM4/26/17
to AdWords API Forum
Hi,

Is it possible to assign the same AdCustomizer feedItem (row) to multiple AdGroups across multiple campaigns?

Reasoning:
We have multiple campaigns for different purposes. These campaigns have AdGroups with the same name (same product identifier) but different content (textads, sitelinks, keywords, etc).
We would like to use 1 row of Customizers per product (across all campaigns). That means we would like to associate 1 feed row of AdCustomizers to multiple AdGroups each belonging to different campaign.
Is this possible or we have to manage multiple rows (with the exact same values) to target all AdGroups individually?

Shwetha Vastrad (AdWords API Team)

unread,
Apr 26, 2017, 2:20:53 PM4/26/17
to AdWords API Forum
Hi,

You can use the same Ad customizer feed in different AdGroups. If you would like to use the adGroupTargeting attribute of a FeedItem to restrict the feed item to only a specific ad group, you can specify a single ad group only. Please see this guide for more details on using an Ad customizer feed in an Ad. The AddAdCustomizer Java example shows how to create FeedItems with the adGroupTargeting attribute set to different ad group Ids and then create expanded text ads that use ad customizers for the specified ad group Ids. When these Ads serve, they will show different values, since they match different feed items. Example code in other languages is available here.

Regards,
Shwetha, AdWords API Team.

Paris Theofanidis

unread,
Apr 27, 2017, 3:41:45 AM4/27/17
to AdWords API Forum
Hi Shwetha,

According to the sample code I can assign only 1 addGroupId to a feedItem.
feedItem.setAdGroupTargeting(new FeedItemAdGroupTargeting(adGroupId));

My question is about adding multiple ones. Let me try to explain better.

   
Campaign1
   AdGroup1
   AdGroup2

Campaign2
   
AdGroup1
   
AdGroup3

Feed (products)
   
FeedItem (lots of attributes) -> feedItem.setAdGroupTargeting(new FeedItemAdGroupTargeting(AdGroup1)); // Is there way to also add AdGroup2 to the same feedItem?

// What I am trying is to avoid doing this since it will cost me more ops on updates plus it's pointless to maintain same values twice (or more)
Feed (products)
   
FeedItem1 (lots of attributes) -> feedItem.setAdGroupTargeting(new FeedItemAdGroupTargeting(AdGroup1)); // Is there way to also add AdGroup2 to the same feedItem?
    FeedItem2 (exact same as above) -> feedItem.setAdGroupTargeting(new FeedItemAdGroupTargeting(AdGroup1)); // This is what I'm trying to avoid.

In lame terms, FeedItem (has many) AdGroup

Hope this explains better my question,
Thank you

Shwetha Vastrad (AdWords API Team)

unread,
Apr 27, 2017, 11:07:21 AM4/27/17
to AdWords API Forum
Hi, 

I'm afraid a FeedItem can include only one AdGroupId in the AdGroupTargeting attribute. If you would like to use a FeedItem for multiple AdGroups, you'll need to clear the AdGroupTargeting and use an AdGroupFeed to associate this Feed to multiple AdGroups with the appropriate matchingFunction to select which FeedItem may serve. Please see this guide for more details on matching functions. 

Joe Stedman

unread,
Dec 20, 2018, 5:18:41 AM12/20/18
to AdWords API and Google Ads API Forum
Is this still possible with Ad Customizers?
When I try to use a matchingFunction to assign an ad customizer feeditem to a campaign I get an "INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA" error. The function I'm using is: 
"EQUALS(FEED_ITEM_ID,feed_item_id_goes_here)"

Bharani Cherukuri (AdWords API Team)

unread,
Dec 20, 2018, 2:40:27 PM12/20/18
to AdWords API and Google Ads API Forum
Hello Joe, 

The CustomerFeedCampaignFeed, and AdGroupFeed objects allow you to define selection criteria for feed items via a matching function. Could you please share us the complete SOAP request and response logs, so I can take a look at the error you're receiving? You can reply back via Reply privately to author option.

Regards,
Bharani, AdWords API Team
Reply all
Reply to author
Forward
0 new messages