Google Ads API - Responsive Search Ads

48 views
Skip to first unread message

rentcafe dev

unread,
Jul 10, 2019, 6:02:00 PM7/10/19
to AdWords API and Google Ads API Forum
Hello,

I'm trying to create a Responsive Search Ad using the .NET library for Google Ads API and I'm receiving the following error:

Google Error:  Status(StatusCode=InvalidArgument, Detail=""Request contains an invalid argument.""

It sure would be nice if the error message would indicated what is wrong with the request.  Below is the request that is generating the error:

{{ "create": { "status": "ENABLED", "adGroup": "customers/REMOVED FOR SECURITY/adGroups/71271993583", "ad": { "responsiveSearchAd": { "headlines": [ { "text": "Houston Apartments", "pinnedField": "HEADLINE_1" }, { "text": "Apartments for Rent in Houston", "pinnedField": "HEADLINE_1" }, { "text": "Rent Houston Apartments", "pinnedField": "HEADLINE_1" }, { "text": "[3] Bedroom Apartments" }, { "text": "Exclusive Amenities" }, { "text": "On [3 + ^Street Name^]" }, { "text": "In [Neighbourhood]" }, { "text": "In [77058]" }, { "text": "Premier Location" }, { "text": "[RCQA TOL Property2]" }, { "text": "Houston Apartments" }, { "text": "Beautiful Apartments for Rent" }, { "text": "Get Ready to Move" }, { "text": "Move-In Ready Apartments" }, { "text": "Opening [opening date]" } ], "descriptions": [ { "text": "The Very Finest in Apartment Living in Houston. Contact Us to Schedule a Tour!", "pinnedField": "DESCRIPTION_1" }, { "text": "[^Number of Bedrooms^] Bedroom Apartments. Live In Style & Enjoy Our Extensive List of Ame" }, { "text": "Our Spacious Units Are Perfectly Designed For Your Needs. Contact Us Today!" }, { "text": "Choose the Best Floor Plan for You. Feel Free to Contact Us for More Info." } ], "path1": "Apartment", "path2": "Houston TX" } } } }}

I do not have any log files to send you.  As far as I know the .NET libraries do not have that feature.

KDJ

Google Ads API Forum Advisor Prod

unread,
Jul 11, 2019, 1:38:01 PM7/11/19
to rentca...@gmail.com, adwor...@googlegroups.com
Hello, 

Could you share the complete request and response logs using the Reply privately to author option to check this further?

Thanks,
Bharani, Google Ads API Team
 

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