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

On Monday, April 1, 2019 at 9:14:48 PM UTC+3, googleadsapi-forumadvisor 
wrote:
>
> 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/30/19 11:24:16 di...@adscale.com <javascript:> wrote:
>
> 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
>
> On Saturday, March 30, 2019 at 12:11:10 AM UTC+3, 
> googleadsapi-forumadvisor wrote:
>
> Hello,
>
> You can find information on how to create smart shopping ads here 
> <https://developers.google.com/google-ads/api/docs/shopping-ads/create-ad-group-ad#smart_shopping_campaigns>.
>  
> The Ad 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.resources#google.ads.googleads.v0.resources.Ad>
>  will 
> have a field called shopping_smart_ad which you can set to 
> ShoppingSmartAdInfo 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.common#google.ads.googleads.v0.common.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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/29/19 14:25:54 di...@adscale.com wrote:
>
> 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).
>
> For ad creation we use this example - https://developers.google.
> com/google-ads/api/docs/samples/add-shopping-smart-ad
>
> 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
>
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@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+unsubscr...@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 
> <https://groups.google.com/d/msgid/adwords-api/5b52f000-14da-414f-baf3-40a2ce39723d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@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+unsubscr...@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/3b9f8c3b-5249-42c0-abfe-56093f3170f5%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/adwords-api/3b9f8c3b-5249-42c0-abfe-56093f3170f5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/1a574ba4-c58c-46c3-84c5-d1dcc6429df5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • RE: Sma... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... dima
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... dima
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to