Hello Ahmed,

You will be able to create the Responsive display ads using the 
AdGroupAdService and the MutateAdGroupAdsRequest. The parameters that can be 
set for a responsive display ad are listed here.You may refer to the 
AddExpandedTextAds.java code sample as a reference (code samples in other 
languages can be found here). Also, it looks like you are incorrectly 
specifying the headline text value. Could you please verify this on your end 
referring to the below code snippet and let me know if this helps? If the issue 
persists, could you please share the complete request and response logs along 
with the client customer id for further  investigation?

ad_group_ad.ad.responsive_display_ad.headlines.text.value = "headline1  text"
ad_group_ad.ad.responsive_display_ad.headlines.pinned_field = 
client.get_type('ServedAssetFieldTypeEnum',version='v2').HEADLINE_1

P.S. Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UAqMsW:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/mVrLx000000000000000000000000000000000000000000000Q4KFNK00Tv-P1zJ3Tz-QZ4lIZxvMRQ%40sfdc.net.

Reply via email to