Re: Migration to Adwords api v201206: New vs Old java client library?
>Looking ahead a little, is there any plan to promote the new client library to be the "offical" version and sunset the old client library? This should explain more: https://developers.google.com/adwords/api/docs/sunset-dates Also check out the release notes for v201206 version. On Tuesday, September 11, 2012 1:03:27 AM UTC+9, cefc wrote: > > For the upcoming adwords api version migration to v201206 (from v201109 > using old client library) is there any significant benefit in switching to > the new java client library over the existing (old) one? > > Looking ahead a little, is there any plan to promote the new client > library to be the "offical" version and sunset the old client library? > > Christian > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: How to set ReportID for downloading report? (v201109)
Hey MM Thanks ! On Jan 18, 12:39 am, mm wrote: > Hey KD - > Now that only AdHoc reporting is supported, you are no longer able to > download a report with just an id - you have to supply a full report > definition in your request. Look > athttp://code.google.com/p/google-api-adwords-java/source/browse/trunk/... > instead > > HTH - > mm > > On Jan 17, 3:58 am, K D wrote: > > > > > > > > > One way is to look at code of reportUtils.downloadReport which will > > allow downloading of report without reportID, is there any other way > > (downloading using reportID)? > > > On Jan 17, 4:01 pm, K D wrote: > > > > Hi > > > > Migrating to v201109, from the example > > > at,http://code.google.com/p/google-api-adwords-java/source/browse/trunk/... > > > > We do not set reportID, but when downloading the report, we need the > > > reportIDhttp://code.google.com/p/google-api-adwords-java/source/browse/trunk/... > > > > in v201101, I used ReportDefinition[] result = > > > getReportDefinitionService().mutate() to set reportID, what to do in > > > v201109? > > > > Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: How to set ReportID for downloading report? (v201109)
One way is to look at code of reportUtils.downloadReport which will allow downloading of report without reportID, is there any other way (downloading using reportID)? On Jan 17, 4:01 pm, K D wrote: > Hi > > Migrating to v201109, from the example > at,http://code.google.com/p/google-api-adwords-java/source/browse/trunk/... > > We do not set reportID, but when downloading the report, we need the > reportIDhttp://code.google.com/p/google-api-adwords-java/source/browse/trunk/... > > in v201101, I used ReportDefinition[] result = > getReportDefinitionService().mutate() to set reportID, what to do in > v201109? > > Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Report off by one day? (v201109)
Hi Anash I found the problem, I am giving incorrect reportID. I have posted it as another question. Would you be kind enough to see this question? http://groups.google.com/group/adwords-api/browse_thread/thread/46a88bbad8db5f9a?hl=en tl;dr , How do I set reportID? (earlier I used mutate API call) On Jan 17, 10:30 am, K D wrote: > Hi Anash > > Thanks for your reply.Yes, it is just for illustrative purposes. > Is the behavior I am seeing expected? > > Thanks > > On Jan 16, 10:03 pm, "Anash P. Oommen" > > > > > > > +fo...@google.com> wrote: > > Hi, > > > Just to clarify, dateRange dates are supposed to be in MMDD format, so > > I assume selector.setDateRange(2012-jan-12,2012-jan-13) is for illustrative > > purposes? > > > Cheers, > > Anash P. Oommen, > > AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
How to set ReportID for downloading report? (v201109)
Hi Migrating to v201109, from the example at, http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/DownloadAdHocReport.java We do not set reportID, but when downloading the report, we need the reportID http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/DownloadReport.java in v201101, I used ReportDefinition[] result = getReportDefinitionService().mutate() to set reportID, what to do in v201109? Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Report off by one day? (v201109)
Hi Anash Thanks for your reply.Yes, it is just for illustrative purposes. Is the behavior I am seeing expected? Thanks On Jan 16, 10:03 pm, "Anash P. Oommen" wrote: > Hi, > > Just to clarify, dateRange dates are supposed to be in MMDD format, so > I assume selector.setDateRange(2012-jan-12,2012-jan-13) is for illustrative > purposes? > > Cheers, > Anash P. Oommen, > AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Report off by one day? (v201109)
Hi I am migrating to v201109 version. And my usage is almost same as the example given here http://www.google.com/codesearch/p?hl=en#9RD3n1d8sRQ/trunk/examples/v201109/DownloadAdHocReport.java Only difference being I use custom date. Here is what I observed: same call with selector.setDateRange(2012-jan-12,2012-jan-12); results in different behavior. While in v201101 , it fetches report for Jan 12 but in v201109, it fetches report for Jan 11. I have been able to circumvent this issue by calling selector.setDateRange(2012-jan-12,2012-jan-13); but I was wondering if this is expected/something in documentation/anybody else experienced this etc. Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: How to add GeoLocation to Campaign (version 201109)
Use Campaign Criterion Service. The classes that you mentioned have been migrated to those classes. On Jan 13, 6:42 pm, Alex Tran wrote: > With version 200909, I used ProximityTarget + GeoTarget + > GeoTargetList + GeoTargetOperation to add GeoLocation to Campaign. > Now I want to upgrade to version 201109, and I dug all the document > but dont know how to do that with this version. > > (I need to expand 300 geo locations limit) > > Please give me a hand. > Thank you -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Keyword Diagnose (are they served?) & Targeting Method
For second question please see CampaignCriterion Service On Dec 20, 1:56 am, MMV Hessen wrote: > Hello all, > > first thanks for the api, it helps a lot. :) > > There a two small things i cant handle until now. > I hope i just didn't found out until now: > > - How to diagnose keywords? > If im in the normal adwords web interface i can check the keywords > wheter they are served or not (including a reason). Is this possible > with the API? > > - how to change the targeting method of a campaign? > in the adwords web interface i can change the targeting method. so if > i have a keyword with a city in, i can say if its target by the search > string or by the geographic point of the searcher. > > Thanks so far! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: LocationCriterionService only supports 'EQUALS' and 'IN' Predicates
I am pretty sure IN matches approximate matched records in production as well. On Dec 20, 12:52 am, Stephen Yeargin wrote: > A little odd, but if I use 'EQUALS' or 'IN', it is giving me approximate > matched records as well. My question is whether this is the desired > behavior or if it only happens in Sandbox? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Distinguishing between Country and Province / Getting country code or Province code (v201109)
Thanks Kevin, that was very helpful. I should have looked into the example before asking this *blush* If somebody wants to see the example, it is at http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/GetLocationCriteria.java On an unrelated note, is it possible to get All Locations (countries, regions etc) along with their Code? Similar to GetAllLanguages example? i.e. Get a list of countries and their code without specifying what strings you want matching on? Best, KD On Dec 15, 12:03 am, Kevin Winter wrote: > Hi KD, > The DisplayType returned with Locations with indicate if it is a Province > or a Country. > > - Kevin Winter > AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Iterating over TargetList / Getting more information about target in v201109
Thanks Kevin. I understood now. I have one last small question (I promise!) . I posted it at http://groups.google.com/group/adwords-api/browse_thread/thread/70a9e2ac045f24bc. Would you be kind enough to have a look? Thank you once again. On Dec 13, 12:47 am, Kevin Winter wrote: > Hi, > In v201109, most of the campaign targets were migrated to > CampaignCriteria, available via the > CampaignCriterionService:http://adwordsapi.blogspot.com/2011/11/discovering-v201109-how-to-tar... > > - Kevin Winter > AdWords API Team > > > > > > > > On Thursday, December 8, 2011 5:07:05 AM UTC-5, K D wrote: > > > Hi > > > Following the example at > > >http://www.google.com/codesearch/p?hl=en#9RD3n1d8sRQ/trunk/examples/v... > > > // Display campaign targets. > > if (page.getEntries() != null) { > > for (TargetList targetList : page.getEntries()) {} > > > How would I iterate over TargetList so that I can get more information > > about the target? (e.g. language it was targetting?) > > > I tried > > > for (Target t : targetList) but got the error that it is not > > iteratable. > > > Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Distinguishing between Country and Province / Getting country code or Province code (v201109)
Hi I am migrating from v201101 to v201109. How will I distinguish whether a Location object is referring to a Country or to a Province? One way I could think was to get the Code(for e.g. US,CA ,US-CA ) and compare the length. But there is no way to get the Country/Province Code in v201109. What should be the ideal approach? The Criterion type is set to "Location" in both cases(?) so we cannot distinguish on that basis, am I right ? Thanks for your help. Regards KD -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Iterating over TargetList / Getting more information about target in v201109
Hi Following the example at http://www.google.com/codesearch/p?hl=en#9RD3n1d8sRQ/trunk/examples/v201109/GetAllCampaignTargets.java // Display campaign targets. if (page.getEntries() != null) { for (TargetList targetList : page.getEntries()) {} How would I iterate over TargetList so that I can get more information about the target? (e.g. language it was targetting?) I tried for (Target t : targetList) but got the error that it is not iteratable. Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Getting targeted Languages and Locations (migrating from v201101 to v201109)
Hi First of all, a great work by Google API team. New version does look better. As the subject says, I am migrating from v201101 to v201109, I faced some issue. I want to get the targeted Languages and Locations which I have set for a particular campaign ID. Old code: TargetList[] targets = campaignManager.getGoogle().getCampaignTargets(new long[] { campaigns[i].getId() }); for (TargetList target : targets) { if (target instanceof GeoTargetList) { for (GeoTarget geoTarget : ((GeoTargetList) target).getTargets()) { countryCode = ((CountryTarget) geoTarget).getCountryCode(); } } } How do I do the same thing in new version? I have tried this, but I do not know how to get countryCode now. // Get the CampaignTargetService. CampaignTargetServiceInterface campaignTargetService = user.getService(AdWordsService.V201109.CAMPAIGN_TARGET_SERVICE); long campaignId = campaigns[i].getId(); // Create selector. CampaignTargetSelector selector = new CampaignTargetSelector(); selector.setCampaignIds(new long[] {campaignId}); // Get all campaign targets. CampaignTargetPage page = campaignTargetService.get(selector); // Display campaign targets. if (page.getEntries() != null) { for (TargetList targetList : page.getEntries()) { System.out.println("Campaign target with campaign id \"" + targetList.getCampaignId() + "\" and of type \"" + targetList.getTargetListType() + "\" was found."); } } Thanks for your time. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Getting jar file for v201109
Hi Sorry if this is a n00b question, but the adwords-api-8.4.2- loner.tar.gz and adwords-api-8.4.2.tar.gz downloaded from http://code.google.com/p/google-api-adwords-java/downloads/list have jar files which still support v201101. Is there any way I can get a jar file which only has v201109 code (and not previous versions) Thanks for your time. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en