Hi, The ad or keyword won't be valid without the adGroupId populated, so you will need to create a campaign and ad group in the account if none exists already.
Best, - Eric On Jul 14, 4:08 am, ojak <[email protected]> wrote: > The example in the link shows campaign creation validation, but is it > possible to validate Ad operation streams without creating a mock > campaign and ad group (e.g. verify request of Ad and Keyword > operations only)? > > Thanks. > > On Jul 13, 7:47 pm, AdWords API Advisor <[email protected]> > wrote: > > > > > Hi Suraj, > > > Yes, you can use the validateOnly header to check your ads for errors. > > > http://adwordsapi.blogspot.com/2009/12/discover-v2009-validateonly-he... > > > An example of how to use this feature in the Ruby client library is > > available here: > > > http://code.google.com/p/google-api-adwords-ruby/source/browse/trunk/... > > > Best, > > - Eric Koleda, AdWords API Team > > > On Jul 12, 2:09 pm, Suraj Khakurel <[email protected]> wrote: > > > > Hi > > > > How can i valid a Ads before create or update them by using Ruby ? > > > > Any help? > > > > Regards > > > Suraj -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
