Never mind, apparently the TemplateAd data structure is rather more complex than expressed in the initial version of my code and must be created in a different way.
On Tuesday, June 12, 2012 1:16:14 PM UTC-4, Dave Seidel wrote: > > Hi, using google-ads-common 0.7.2, google-adwords-api 0.6.1, API version > v201109_1. > > I'm reworking some old code written by someone else that worked with an > earlier version of the gems and the API, and I'm having trouble using the > YouTube Promoted Videos temple. Here's what my operation hash looks like: > http://pastebin.com/t67FSut2. When I pass this to AdGroupService.mutate I > get > > Parameter error: AdsCommon::Errors::UnexpectedParametersError: >> [:image_url, :headline, :description1, :description2, :video_id, >> :channel_name] > > > The names seem to be correct as per > https://developers.google.com/adwords/api/docs/appendix/templateads#pyv_ad > . > > Can anyone tell what I'm doing wrong? > > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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
