Hi
i am getting the following error for a code the worked for month.
java.lang.NullPointerException: No group found for service:
v201306.MutateJobServicejava.lang.NullPointerException: No group found for
service: v201306.MutateJobService
at
com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration.getServiceUrlGroup(AdWordsApiConfiguration.java:63)
at
com.google.api.ads.adwords.lib.client.AdWordsServiceDescriptor.getEndpointAddress(AdWordsServiceDescriptor.java:77)
at
com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createAdsServiceClient(BaseAdsServiceClientFactoryHelper.java:74)
at
com.google.api.ads.common.lib.factory.AdsServiceClientFactory.getServiceClient(AdsServiceClientFactory.java:73)
at
com.google.api.ads.common.lib.factory.BaseAdsServiceClientFactory.getServiceClientAsInterface(BaseAdsServiceClientFactory.java:79)
at
com.google.api.ads.common.lib.factory.BaseServices.get(BaseServices.java:60)
The only thing ive changed is that i switched from v201302 to v201306, but
i did not touch the code.
the associated code is this :
[code]
clientLoginToken = new ClientLoginTokens.Builder()
.forApi(ClientLoginTokens.Api.ADWORDS)
.withEmailAndPassword(adwordsLogin, password)
.build()
.requestToken();
// Construct an AdWordsSession.
AdWordsSession session = new AdWordsSession.Builder()
.withClientLoginToken(clientLoginToken)
.withDeveloperToken(developerToken)
.withClientCustomerId(customerAccount.getClientId())
.withEndpoint(AdWordsSession.DEFAULT_ENDPOINT).build();
// mutate job service
mutateJobService = new AdWordsServices().get(session,
MutateJobServiceInterface.class);
// create list of operations
adGroupCriterionOperations = new
ArrayList<AdGroupCriterionOperation>();
[/code]
ClientloginTokens is deprecated but should still work right? So what seems
to be the problem here?
I would appreciate the help.
thx
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.