Hi Cedric, This error is coming from the Python client library. Your operations look correct, so perhaps there is a problem in the library. Please create a bug on the project's issue tracker:
http://code.google.com/p/google-api-adwords-python-lib/issues/list Best, - Eric Koleda, AdWords API Team On Apr 6, 5:02 pm, Ced <[email protected]> wrote: > I try to set a target to a campaign and I have this error using the > Python library and I have the following error: > > Given API version, v200909, is not compatible with ProvinceTarget' > class. > > Here is the dictionnary that I used: > > [{'operator': 'SET', > 'operand': {'type': 'GeoTargetList', > 'targets': [{'provinceCode': 'QC', > 'type': 'ProvinceTarget' > } > ], > 'campaignId': 154943 > } > }, > {'operator': 'SET', > 'operand': {'type': 'LanguageTargetList', > 'targets': [{'languageCode': 'fr', > 'type': 'LanguageTarget' > } > ], > 'campaignId': 154943 > }, > {'operator': 'SET', > 'operand': {'type': 'NetworkTargetList', > 'targets': [{'type': 'NetworkTarget', > 'networkCoverageType': 'GOOGLESEARCH' > }, > {'type': 'NetworkTarget', > 'networkCoverageType': > 'SEARCHNETWORK' > } > ], > 'campaignId': 154943} > } > ] > > How can we set the geotargetting using the v2009 version? > > Cedric -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 To unsubscribe, reply using "remove me" as the subject.
