Unable to access ManagedCustomerServiceInterface i/O Exception

2016-12-26 Thread ntdmbot01
2016-12-26 02:40:04.665 INFO 10963 --- [o-40381-exec-55] o.a.c.httpclient.HttpMethodDirector : I/O exception (java.net.ConnectException) caught when processing request: Connection timed out 2016-12-26 02:40:04.666 INFO 10963 --- [o-40381-exec-55] o.a.c.httpclient.HttpMethodDirector

I/O exception (java.net.ConnectException) caught when processing request: Connection timed out

2016-12-26 Thread ntdmbot01
Hi team, when i try to execute below code using managedServices i get the error as mentioned below. Please let me know what proxy https/http with port to be initialized. ManagedCustomerServiceInterface managedCustomerService = adWordsServices.get(session, ManagedCustomerServiceInterface.class

Re: com.google.inject.CreationException: Unable to create injector

2016-12-19 Thread ntdmbot01
Hi, I have used what is mentioned in the below link, everything working from my local windows but when i put it on unix server it fails, below si the error also atatching pom.xml p[roject is in critical state need immediate support. java.lang.ExceptionInInitializerError: null at com.ntrs.ppc.g

Re: com.google.inject.CreationException: Unable to create injector

2016-12-18 Thread ntdmbot01
Hi team when i try to initialize AdwordServices adowrdServices=new AdwordServices() , it throws the error. I'm using import com.google.api.ads.adwords.axis.factory.AdWordsServices , i have maven project. Please let me know why is this error coming and how to resolve. On Sunday, December 18,

com.google.inject.CreationException: Unable to create injector

2016-12-17 Thread ntdmbot01
Hi team, I'm using maven project from my local eclipse it is working fine but when i deploy on Unix machine it throws below error could you please help on this.Need immediate help on this. java.lang.ExceptionInInitializerError: null at com.ntrs.ppc.googleadwords.GoogleAdsServiceImpl.intiateS

Re: Frequently getting Stream closed error whe fetching ads for a Adgroup and for a given campaign

2016-11-25 Thread ntdmbot01
Hi, i tried the code mentioned by swetha, it is the error from APi i get it frequently, when building the selector itself it throws error. and sometime it proceeds and throw at the later stage. Code wise no error because when i parameterize with campaign and account it runs , when i try to fetc

Re: Frequently getting Stream closed error whe fetching ads for a Adgroup and for a given campaign

2016-11-24 Thread ntdmbot01
Hi, I have atathced complete code the code start point is getListofAccounts. CustomerId is 429-320-4263 On Wednesday, November 23, 2016 at 11:47:18 AM UTC-6, Shwetha Vastrad (AdWords API Team) wrote: > > Hi, > > The DownloadCriteriaReport >

Re: How to get list of all campaigns for a given customer Id.

2016-11-23 Thread ntdmbot01
I would like to fetch *all campaigns for a given account*.How to fetch account details i know, but how to fetch all the campaigns for a particular account I'm not getting. I would like to pass account Id and get the list of campaigns under that account. ihope my question is clear. Example: fo

Re: Frequently getting Stream closed error whe fetching ads for a Adgroup and for a given campaign

2016-11-23 Thread ntdmbot01
Hi, I'm not using any stream i just have a select query from ad performance report and after running for a while it gives this error. i have 73 campaigns and for each campaign around 10 adgroups and for each adgroup around 18 ads, so when it runs afetr few minutes it throws the error. On Tuesd

Re: How to get list of all campaigns for a given customer Id.

2016-11-23 Thread ntdmbot01
Please let me know with an example in selector for campaign how to pass the clientCustomerId and fetch the values. in equals condition what need to be passed please let me know. // Create selector. SelectorBuilder builder = new SelectorBuilder(); Selector selector = builder .fields(C

Frequently getting Stream closed error whe fetching ads for a Adgroup and for a given campaign

2016-11-22 Thread ntdmbot01
016-11-22 08:33:18.117 WARN 6316 --- [nio-8080-exec-3] c.g.a.a.a.l.c.A.soapXmlLogger : SOAP Response: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> soapenv:Server.userException <*faults

Re: Can you tell me how to access campaign performance report its return object

2016-11-22 Thread ntdmbot01
Can you provide some sample code On Monday, November 21, 2016 at 11:51:24 AM UTC-6, Shwetha Vastrad (AdWords API Team) wrote: > > Hi, > > In the Java client library, the ReportDownloadResponse >

AD performance _report details are not macthing

2016-11-22 Thread ntdmbot01
Hi, For a given campaign id and agroup id and Ad id, im fetching clicks, impressions, averageCost etc from AD_PERFORMACE_REPORT, but this valuesa re not matching with the one in portal. Please let me know how to fetch all the attributes of AD usinand it should match with portal. -- -- =~=~=

How to get list of all campaigns for a given customer Id.

2016-11-22 Thread ntdmbot01
Hi, I'm using CampaignField in selector to fetch campaign details, I would like to fetch campaigns only for a given account. how to validate this in selector equals method. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper

Re: Can you tell me how to access campaign performance report its return object

2016-11-20 Thread ntdmbot01
Hi Team, I would like to use like a service for criteria_performance_report as i don't want to download i would like to return it to browser.Would like to kno how to use it with selector.Please provide an example. On Thursday, November 17, 2016 at 1:15:29 PM UTC-6, Shwetha Vastrad (AdWords API

Can you tell me how to access campaign performance report its return object

2016-11-17 Thread ntdmbot01
Hi, I have seen many forums where when accessing campaign_performance_report then are downoading the query result to a file(csv/txt..). I would like to know using selector how can i access the campaign_performance_report and what is the class which can be used to access clicks, impressions etc

Re: Java API Cove Sample Campaign_Performance_Report

2016-10-12 Thread ntdmbot01
Hi Peter, It was useful thanks for the update but i need it to be in a object not to download as a file, what are the classes used to get the response and execute the query(service objects and return type objects so i can use them to do further operations). On Wednesday, October 12, 2016 at 5:

JAVA API Google Adwords Campaign Performance Report

2016-10-12 Thread ntdmbot01
Im new to adwords , I'm able to get the campaigns using CampaignService , I tries to get Campaign Performance Report details Im stuck in mid and dont know how to proceed and what objects should I use to retrieve the Campaign Performance Reports, a code snippet will be very helpful. Thanks in ad

Java API Code snippet Campaign Performance Report

2016-10-12 Thread ntdmbot01
Im new to adwords , I'm able to get the campaigns using CampaignService , I tries to get Campaign Performance Report details Im stuck in mid and dont know how to proceed and what objects should I use to retrieve the Campaign Performance Reports, a code snippet will be very helpful. Thanks in ad

Java API Cove Sample Campaign_Performance_Report

2016-10-12 Thread ntdmbot01
Im an newbie to adwords, Im trying to get campaign performance report where you can get most of the campaign details can anyone share a code snippet to retrieve it I am able to get the campaigns, adgroups and ads but I need a detailing on Campaign on the number of clicks, impressions etc. A co

Google Ads API Refresh token

2016-10-05 Thread ntdmbot01
When trying to connect with google ads api, a refresh token has to be provided so using the client id and secret i get the url where the code to get the refresh token when i give the code in command line and click on enter after few seconds its throws connection timed out error. Is it due to pr