Hi, I'm sorry, it turns out there's a mistake in the code example (we're in the process of fixing it). The CampaignCriterion constructor now takes 3 arguments (instead of the previous two). You can fix this yourself by adding a null argument as the middle argument or wait for us to release updated code examples.
- Kevin Winter AdWords API Team On Tuesday, August 14, 2012 11:18:59 AM UTC-4, Octav wrote: > > I run AddCampaignTargetingCriteria.php and i receive: > > An error has occurred: Unmarshalling Error: cvc-elt.4.3: Type > 'ns1:Location' is not validly derived from the type definition, 'boolean', > of element 'ns1:isNegative'. > > I can not figure out what is the problem. > > Thank you > > > > > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
