Hello Luca,
I was able to create a ResponsiveDisplayAd successfully by passing just the
values as below in Java:
ResponsiveDisplayAdInfo responsiveDisplayAdInfo =
ResponsiveDisplayAdInfo.newBuilder()
.setShortHeadline(StringValue.of("I am short headline"))
.setLongHeadline(StringValue.of("I am long headline"))
.setDescription(StringValue.of("I am desc"))
.setBusinessName(StringValue.of("I am bus name"))
.setMarketingImage(StringValue.of("customers/<customerid>/mediaFiles/<
mediafileid>"))
.build();
Ad ad =
Ad.newBuilder()
.setResponsiveDisplayAd(responsiveDisplayAdInfo)
.addFinalUrls(StringValue.of("http://www.example.com
<http://www.google.com/url?q=http%3A%2F%2Fwww.example.com&sa=D&sntz=1&usg=AFQjCNEFCU3RF7exbH39Ef7Szy9s-UX8WA>
"))
.build();
Code samples in other languages are not yet available. Could you please
give it a try and let me know if you have any other questions?
Thanks,
Bharani, 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/00d12i8cr0000001022lia0010ha4uw6kmj8c9o70o30c1g68r34e1p%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.