DynamicSearchAdsSetting conflict

88 views
Skip to first unread message

Alin Baicu

unread,
Oct 27, 2022, 5:41:34 AM10/27/22
to Google Ads API and AdWords API Forum
Hello, we are trying to create a Campaign and populate the feeds property of the DynamicSearchAdsSetting. The problem is that our feeds have been auto-migrated to assets so right now we have put an asset -> but we got into the following error -> 
Resource name 'customers/customer-ID/assets/asset_id' is malformed: expected 'customers/{customer_id}/feeds/{feed_id}'., at mutate_operations[1].campaign_operation.create.dynamic_search_ads_setting.feeds" and response type "N/A".
What can we do in this case, because we do not have any feeds, after the migration?

Google Ads API Forum Advisor

unread,
Oct 27, 2022, 7:17:47 AM10/27/22
to adwor...@googlegroups.com
Hi,

This is Carmela from the Google Ads API team. Thank you for reaching out.

With regard to your concern, as per this document , kindly note that DSA page feeds are migrating from feeds to assets. You can also refer to this documentation as it contains details on creating Dynamic Search Ads.

Furthermore, could you please provide the complete request and response logs with request ID and request header generated on your end so our team can provide guidance accordingly? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2fojfr:ref

CFJ

unread,
Oct 27, 2022, 3:16:28 PM10/27/22
to Google Ads API and AdWords API Forum
Ugh!  I just ran into this exact same issue while trying to create a new dynamic search ads campaign.  

The Campaign.DynamicSearchAdsSetting has four properties.  
DomainName
LanaguageCode
UseSuppliedUrlsOnly
Feeds

Your example documentation that you linked in only shows how to work with the DomainName and The LanguageCode.  I (and it appears the original author of this thread as well) need to know how to populate the Feeds string when UseSuppliedUrlsOnly is set to TRUE. 

Like the original author, our account has already been migrated from Feeds to Assets so our Page URLs are contained in an ASSET SET (not a feed).  So I tried supplying the proper AssetSet Resource Name for the Asset set (i.e. customers/3343210368/assetSets/6487774689) with the Feeds list of the Campaign.DynamicSearchAdsSetting.

The error returned states 
"Resource name 'customers/3343210368/assetSets/6487774689' is malformed: expected 'customers/{customer_id}/feeds/{feed_id}'."

So the question here is, can you provide an example of how to populate Campaign.DynamicSearchAdsSetting.Feeds when UseSuppliedUrlsOnly is set to TRUE?

Alin Baicu

unread,
Oct 31, 2022, 5:08:15 AM10/31/22
to Google Ads API and AdWords API Forum
From what I understood CFJ, after the migration we will not use the Campaign.DynamicSearchAdsSetting.Feeds, we will use the CampaignAssetSetOperation.

Google Ads API Forum Advisor

unread,
Jan 4, 2023, 1:34:16 PM1/4/23
to adwor...@googlegroups.com
Hi Alin,

I can confirm that you should use the asset based workflow instead.

Please find an example of associating an asset set with a campaign, here.

Regards,

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2fojfr:ref
Reply all
Reply to author
Forward
0 new messages