Smart Shopping ad assets creation

561 views
Skip to first unread message

di...@adscale.com

unread,
Mar 29, 2019, 2:25:54 PM3/29/19
to AdWords API and Google Ads API Forum
Hi,

I'm stuck stuck with smart shopping ad creation. We are able to create a campaign, ad group and an empty ad, but can't find a way to populate the asset (file asset.png).


When I create a smart shopping ad with its assets manually I can see in the Change History that a feed named "System generated (Smart Shopping Ads) Feed" was created (change_history.png).

I've tried to retrieve this feed via FeedServiceInterface, but it's not there.

So I'm really stuck here. How can I populate the ad assets via API?

Thanks


change_history.png
asset.png

googleadsapi...@google.com

unread,
Mar 29, 2019, 5:11:10 PM3/29/19
to di...@adscale.com, AdWords API and Google Ads API Forum
Hello,

You can find information on how to create smart shopping ads here. The Ad will have a field called shopping_smart_ad which you can set to ShoppingSmartAdInfo.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/5b52f000-14da-414f-baf3-40a2ce39723d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

di...@adscale.com

unread,
Mar 30, 2019, 11:24:16 AM3/30/19
to AdWords API and Google Ads API Forum
Hi,

Thanks for the reply.

We tried it already.

ShoppingSmartAdInfo shoppingSmartAdInfo = ShoppingSmartAdInfo.newBuilder().build();
Ad ad = Ad.newBuilder().setShoppingSmartAd(shoppingSmartAdInfo).build();

ShoppingSmartAdInfo doesn't have setters at all.

Its builder has method setField(FieldDescriptor field, Object value). But we couldn't find any documentation how to fill it, FieldDescriptor is very generic

googleadsapi...@google.com

unread,
Apr 1, 2019, 2:14:48 PM4/1/19
to di...@adscale.com, AdWords API and Google Ads API Forum
Hello,

You will just need to pass the ShoppingSmartAdInfo in your ad builder. Are you experiencing any errors when trying to create the ads? If so, can you please share your request and response for the API call?

Thanks,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

di...@adscale.com

unread,
Apr 2, 2019, 5:03:49 AM4/2/19
to AdWords API and Google Ads API Forum
We create a blank ad, without headlines etc, i.e. without the assets from my first screenshot.

We can't understand how to populate the fields, for example the headline.

There is no setter like setHeadline, and no setField that receives a field enum or something.

We've found only  setField(FieldDescriptor field, Object value), but FieldDescriptor is very generic and we can't find an appropriate documentation.

Can you give me an example of populating one of the fields, let's say the Short Headline?

Thanks

googleadsapi...@google.com

unread,
Apr 2, 2019, 2:38:12 PM4/2/19
to di...@adscale.com, AdWords API and Google Ads API Forum
Hi,

Unfortunately, there is currently no way to set these fields using the API. I'll let the team know to have this supported.

Please see our blog for any updates or announcements regarding this.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

di...@adscale.com

unread,
Apr 2, 2019, 3:16:50 PM4/2/19
to AdWords API and Google Ads API Forum
Thank you

Wilson Jacobsen

unread,
Apr 30, 2020, 11:31:58 AM4/30/20
to AdWords API and Google Ads API Forum
Is there an update on this topic?

Can you give me an example of populating one of the fields, let's say the Short Headline?

Em terça-feira, 2 de abril de 2019 16:16:50 UTC-3, di...@adscale.com escreveu:
Thank you

Google Ads API Forum Advisor Prod

unread,
Apr 30, 2020, 2:41:28 PM4/30/20
to willl.j...@gmail.com, adwor...@googlegroups.com
Hi Wilson,

Creating smart shopping ads through the API is still the same. You will just need to pass the ad object and it will set your fields accordingly. 

Regards,
Anthony
Google Ads API Team

ref:_00D1U1174p._5001UaSzxj:ref

Djalma Lacerda

unread,
Apr 30, 2020, 3:41:23 PM4/30/20
to AdWords API and Google Ads API Forum
I get confuse now...
I'm having the same issue here and I just can create a ad with the text fields.

How can I create a ad for Smart Shopping if I can pass any parameter? 
What type of ad do I need to create to use? A dynamic ad? A display ad?

I didn't get it.
Can you help me please?

Thanks 
Bests.

Google Ads API Forum Advisor Prod

unread,
May 1, 2020, 9:20:55 AM5/1/20
to dja...@quartile.com, adwor...@googlegroups.com
Hi Djalma,

When creating a smart shopping ad, you will just need to create an ShoppingSmartAdInfo. You can find a full example here.

Wilson Jacobsen

unread,
May 1, 2020, 10:47:21 AM5/1/20
to AdWords API and Google Ads API Forum


Thank you for your help.
For a smart shopping campaign,
Do you have an example of how to enter this information (attached image) via API?
asset.png

Google Ads API Forum Advisor Prod

unread,
May 1, 2020, 1:51:28 PM5/1/20
to willl.j...@gmail.com, adwor...@googlegroups.com
Hi Wilson,

Assets can be created through AssetService. Here is a guide on how to create and use them.  

Cheers,

Wilson Jacobsen

unread,
May 11, 2021, 11:36:17 AM5/11/21
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
There would be an example for smart shopping campaigns? this link points to responsive display_ad_info. Responsive Display Ad is not compatible with smart shopping campaigns.


best,

Google Ads API Forum Advisor Prod

unread,
May 11, 2021, 4:47:56 PM5/11/21
to willl.j...@gmail.com, adwor...@googlegroups.com
Hi Wilson,

Unfortunately, there are no examples on how to create assets for these types of campaigns. 

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5001UaSzxj:ref

Jia Hongchao

unread,
Dec 7, 2021, 2:17:47 AM12/7/21
to AdWords API and Google Ads API Forum
Any update now?

Google Ads API Forum Advisor

unread,
Dec 7, 2021, 1:43:57 PM12/7/21
to adwor...@googlegroups.com
Hi Wilson,

Although two new versions have been released since your last inquiry, there still has not been a relevant change on this front. Please see the release notes for v8 and v9 to see what has changed.

Regards,
Matt
Google Ads API Team


Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Google Logo
Matt
Google Ads API Team
 


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