Hi Ranjeet,

Please follow this guide 
<https://developers.google.com/adwords/api/docs/guides/migration/v201607> to 
migrate to the latest version v201607. Since you are on version v201601, I 
would recommend checking for breaking changes in v201603 
 and v201605 
<https://developers.google.com/adwords/api/docs/guides/migration/v201605> as 
well. Also, please note that these guides contain the list of changes in 
the SOAP API, irrespective of the client library (Java, Python etc). As an 
example, in v201607, get() method of CustomerService 
removed. That means, in your Java client library, if you try the following 
code, you would get a compile time error:
*CustomerServiceInterface customerService = adWordsServices.get(session, 
*Customer customer = customerService.get()[0];*

The following piece of code is the correct way to fetch the customer:

*CustomerServiceInterface customerService = adWordsServices.get(session, 
*Customer customer = customerService.getCustomers()[0];*
Hope this helps. Please feel free to revert in case you have more 

Vishal, AdWords API Team

Also find us on our blog and Google+:

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.
  • getting error in... Ranjeet Kumar
    • Re: getting... 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum

Reply via email to