Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2014-06-19 Thread Ray Tsang (AdWords API Team)
Vikash, I will need the stacktrace to further assist you. Its most likely that there was a initialization error as the OfflineCredentials.Api enumerated values may depend on Guice dependency injected instances. There could be many possible causes, such as not having the right dependencies, or

Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2014-06-19 Thread Vikash Singh
Also please note that this is a service. deployed on tomcat. Could that be somehow causing the imporper class loading issue ??? On Friday, June 20, 2014 12:39:48 AM UTC+5:30, Ray Tsang (AdWords API Team) wrote: > > Vikash, > > There should be a stracktrace - could I trouble you to check if the

Shopping Sales Channel error for specific countries

2014-06-19 Thread brett . koenig
Through the API I was trying to set the ProductSalesChannel to "Online" for a campaign that had Brazil as the country of sale. I received and API error of SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL. However if I go into the AdWords UI I can set the ProductSalesChannel of

Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2014-06-19 Thread Vikash Singh
Hi Ray, Yes the exception is absorbed a few steps down the line and then thrown as a different error. We use a rest framework for communication and that is what is absorbing the error so the stack trace is missing. :( On Friday, June 20, 2014 12:39:48 AM UTC+5:30, Ray Tsang (AdWords API Team)

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-19 Thread Ray Tsang (AdWords API Team)
Peter, Thanks for filing the issue! My colleague will see if there is something that can be enhanced in the library to propagate the error. Cheers, Ray On Thursday, June 19, 2014 2:06:30 PM UTC-4, Ray Tsang (AdWords API Team) wrote: > > Peter, > > Shoot! Could I trouble you to open an issue i

Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2014-06-19 Thread Vikash Singh
Hi Ray, Also this value: com.google.api.ads.common.lib.auth.OfflineCredentials.Api.values() is giving An exception occurred: java.lang.NoClassDefFoundError It seems like some issue while loading the classes from the jars. Any idea what it could be and how to fix it?? On Thursday, June 19,

Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2014-06-19 Thread Ray Tsang (AdWords API Team)
Vikash, There should be a stracktrace - could I trouble you to check if the exception was swallowed and so the stacktrace isn't being handled properly?? Thanks, Ray On Thursday, June 19, 2014 2:24:59 PM UTC-4, Vikash Singh wrote: > > Hi Ray, > > Sorry to say this but there is no stack-trace. T

Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2014-06-19 Thread Vikash Singh
Hi Ray, Sorry to say this but there is no stack-trace. The flow is basically a sequence of proprietary classes. So can't print that. But the import statement is as follows: import com.google.api.ads.adwords.lib.client.AdWordsSession; import com.google.api.ads.common.lib.exception.OAuthException

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-19 Thread Ray Tsang (AdWords API Team)
Peter, Shoot! Could I trouble you to open an issue in GitHub against the client library? https://github.com/googleads/googleads-adwords-dotnet-lib/issues Thanks! Ray On Thursday, June 19, 2014 11:07:55 AM UTC-4, Peter Kingswell wrote: > > Hi Ray, > > InnerException is null. > > PK > > > On 18

Re: API support for Labels feature

2014-06-19 Thread Ray Tsang (AdWords API Team)
Alexander, Unfortunately I am not able to communicate any feature or roadmap information. Thanks, Ray On Thursday, June 19, 2014 8:04:14 AM UTC-4, Alexander Paluch wrote: > > Hello, > > we are desperately waiting to be able to read and write AdWords labels (on > Campaign, AdGroup and Keyword

Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2014-06-19 Thread Ray Tsang (AdWords API Team)
Vikash, Could I trouble you to send me the full stacktrace? Thanks, Ray On Thursday, June 19, 2014 11:39:13 AM UTC-4, Vikash Singh wrote: > > This value: > > com.google.api.ads.common.lib.auth.OfflineCredentials.Api.ADWORDS > > Is null. > > As In code: > > credential = new OfflineCredential

Re: Unknown recognised category ids from google adwords

2014-06-19 Thread Ray Tsang (AdWords API Team)
Sitaram, We are looking into the issue. You've posted the reuqest/respons in public - it may contain sensitive information. Please remove the post immediately. You should also regenerate a developer token as well! Thanks, Ray On Thursday, June 19, 2014 8:16:22 AM UTC-4, sitaram krishna wro

Re: AdWords API on App Engine PHp

2014-06-19 Thread Ray Tsang (AdWords API Team)
Hi, Primarily it's because of the use of curl in the code (and maybe other things as well). Using this client library in the App Engine is not yet supported. Thanks, Ray On Wednesday, June 18, 2014 4:14:48 PM UTC-4, sha...@ibariocorp.com wrote: > > Hi, > > Yes i am trying to use the AdWords

Re: Service account - different errors

2014-06-19 Thread Justin Coon
Hi Danial, I replied here, but also directly to you (with private information). I can't see what I have configured here incorrectly - but maybe you have some insight and can see what's wrong. This is halting development, as we can't even get started :( Thanks Justin On Thursday, June 19, 2014

OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2014-06-19 Thread Vikash Singh
This value: com.google.api.ads.common.lib.auth.OfflineCredentials.Api.ADWORDS Is null. As In code: credential = new OfflineCredentials.Builder() .forApi(com.google.api.ads.common.lib.auth.OfflineCredentials.Api.ADWORDS) .withClientSecrets(clientAppId, client

com.google.api.ads.common.lib.auth.OfflineCredentials.Api.ADWORDS is null and giving nullPointerException

2014-06-19 Thread Vikash Singh
Hi, I am getting this value: com.google.api.ads.common.lib.auth.OfflineCredentials.Api.ADWORDS as null in code and it is causing nullPointerException as In code: credential = new OfflineCredentials.Builder() .forApi(com.google.api.ads.common.lib.auth.OfflineCredent

API support for Labels feature

2014-06-19 Thread Alexander Paluch
Hello, we are desperately waiting to be able to read and write AdWords labels (on Campaign, AdGroup and Keyword level) via API. Is there any news or workarounds to do so? Cheers & Thanks, Alex -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: http

Re: Issues with adding production partition in shopping campaign with API

2014-06-19 Thread Josh Radcliff (AdWords API Team)
Hi, The campaign ID you mentioned is a *Search Network Only *campaign, not a *Shopping* campaign. Have you tried this with a *Shopping* campaign? Also, when you create an ad group through the API, AdWords will not automatically create AdGroupCriterion objects for you, so it makes sense that you

Re: How to connect ADX (double-click Ad Exchange RTB)

2014-06-19 Thread Josh Radcliff (AdWords API Team)
Hi Ramu, Please post any AdX Buyer API questions to the AdX Buyer API forum here: https://groups.google.com/forum/#!forum/google-doubleclick-ad-exchange-buyer-api Someone from the AdX Buyer API team will be able to help from there. Cheers, Josh, AdWords API Team On Thursday, June 19, 2014 4:17

Re: Dynamically GeoTarget Campaigns

2014-06-19 Thread Josh Radcliff (AdWords API Team)
Hi ZZ, It looks like you may have identified a few issues with our docs. 1) For locations, you can download the CSV on our Geographical Targeting page , save it locally, and use it as a lookup table. If you want to use Locat

Re: ReportUtilities.DownloadClientReport throws ReportsException with empty Errors array

2014-06-19 Thread Peter Kingswell
Hi Ray, InnerException is null. PK On 18 June 2014 13:54, Ray Tsang (AdWords API Team) < adwordsapiadvisor+...@google.com> wrote: > Peter, > > Please check the InnerException > > property. It should contain the cau

Re: Service account - different errors

2014-06-19 Thread justin
Yes I am a google app domain administrator. I have a user in the MCC production account "jus...@campaignium.com" . I used this user to create the service account in the google developer console. Then I went in in google apps domain and gave rights to the "client id" of the service account user

Re: Service account - different errors

2014-06-19 Thread Danial Klimkin
Hello Justin, Are you a Google App domain administrator? For all other cases please use an offline or web flow instead, see this guide for more details: https://developers.google.com/adwords/api/docs/guides/authentication The first error means you are trying to access the account that doesn'

Re: Updating ad params from xml

2014-06-19 Thread Danial Klimkin
Hello Marina, Could you please send us full request XML and server response for AdParamService call? Please make sure to remove sensitive values such as developer token and OAuth tokens. -Danial, AdWords API Team. On Thursday, June 19, 2014 11:33:35 AM UTC+4, Marina Rabovolick wrote: > > Hi

Re: Awql Campaign from AdgroupCriterionService

2014-06-19 Thread Danial Klimkin
Hello Kai, No, cross-service joins are not supported. You need to query multiple services and join data by IDs. In some cases higher-level object properties are available, please check the selectors guide for each particular case: https://developers.google.com/adwords/api/docs/appendix/selec

Re: How to connect ADX (double-click Ad Exchange RTB)

2014-06-19 Thread Ramu Yalamanchi
Hi Josh - I've also been looking for a contact for the AdX Buyer API team. Can you please put me in touch with someone? Best, Ramu On Monday, April 28, 2014 12:36:37 PM UTC-7, Josh Radcliff (AdWords API Team) wrote: > > Hi Eugene, > > Our AdX Buyer API team will follow up with you via email. >

Re: AdWords API on App Engine PHp

2014-06-19 Thread shahar
Hi, Yes i am trying to use the AdWords API Client Library for PHP. Any idea how i can make it work? Or any idea what is the reason that its not working so i can fix it? Also, any estimate on when it will work? Thanks On Wednesday, June 18, 2014 6:13:05 PM UTC+3, Ray Tsang (AdWords API Team)

Service account - different errors

2014-06-19 Thread justin
I'm trying to get some test data from the AdWords API and find it to be quite overwhelming with the amount of conflicting documentation about test accounts, mcc's, client id's, service account client ids, etc etc. I am currently finally able to receive a token from the Google OAuth server, wit

Updating ad params from xml

2014-06-19 Thread Marina Rabovolick
Hi guys! I have an issue with my script. Earlier it succesfully updated some data (price) in my Ads. How it works: 1)Using https://adwords.google.com/api/adwords/cm/v201309/AdGroupService?wsdl I get all group IDs with GET operatior. 2)Using https://adwords.google.com/api/adwords/cm/

Re: SSLHandshakeException: Remote host closed connection during handshake

2014-06-19 Thread Danial Klimkin
Hello Gopi, Generally, this looks like a network layer issue. Please check your network / check with ISP. We don't see other users affected. -Danial, AdWords API Team. On Thursday, June 19, 2014 7:57:21 AM UTC+4, Gopi wrote: > > Our internal tool runs on 2 servers and recently we seeing thi

Awql Campaign from AdgroupCriterionService

2014-06-19 Thread Kai steudten
Hello, im using awql for selecting several keywords over the AdgroupCriterionService. Now i also want the campaignName in this result. Is it possible to select campaignName, adgroupName and keywords over one awql-statement? Dont think so or? Regards, Kai -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~