Re: AccountService is only available on a whitelist basis
Hello Alok, We do not have any public examples available at the moment. I'll log this as a request for future library releases. -Danial, AdWords API Team. Original Message Follows: From: alok aloks.sh...@gmail.com Subject: Re: AccountService is only available on a whitelist basis Date: Fri, 27 Jul 2012 05:27:08 -0700 (PDT) Hi Danial, Is there any example code to set and get busget using budgetOrderService.Iam confused with what fields should go into the selector fields Thanks, Alok On Thursday, July 26, 2012 3:43:11 PM UTC+5:30, AdWords API Advisor wrote: Hello Alok, This functionality is available in the BudgetOrderService: https://developers.google.com/adwords/api/docs/reference/latest/BudgetOrderService -Danial, AdWords API Team. Original Message Follows: From: alok aloks.sh...@gmail.com Subject: Re: AccountService is only available on a whitelist basis Date: Thu, 26 Jul 2012 00:11:12 -0700 (PDT) Hi Danial, I want to set and get Budgets at accounts level.This facility was provided in v13 account service but i dont see it in SAS.CAn you point me to the right service which should be used to set/get budget at account level (not campaign level) Regards, Alok On Friday, November 11, 2011 9:28:09 PM UTC+5:30, Danial Klimkin wrote: Hello carlinda, In most cases ServicedAccountService is a new replacement for the AccountService. Please migrate to SAS before Feb. If there is any functionality missing please let us know. -Danial, 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 -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 see v201206 Campaign.settings states in the AdWords UI?
Hi Jim, ReadTimeBiddingSetting is meant for AdxBuyer API, and cannot be used for AdWords campaigns. TargetRestrictSetting corresponds to Flexible reach for Display networks. See http://support.google.com/adwords/bin/answer.py?hl=enctx=tltpanswer=2575708 for details. Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, 27 July 2012 21:01:50 UTC+5:30, Jim McCabe wrote: In v201206 there are four types of settings we can define in the Campaign.settings arrayhttps://developers.google.com/adwords/api/docs/reference/latest/CampaignService.Campaign#settings . Two of them are easy to see in the AdWords UI: - KeywordMatchSettinghttps://developers.google.com/adwords/api/docs/reference/latest/CampaignService.KeywordMatchSetting- Campaign settings, Advanced, Keyword matching options - GeoTargetTypeSettinghttps://developers.google.com/adwords/api/docs/reference/latest/CampaignService.GeoTargetTypeSetting- Campaign settings, Location options (advanced), Target For the other two, I am having trouble finding the setting in the UI. Does anyone know where these can be found in the UI? - RealTimeBiddingSettinghttps://developers.google.com/adwords/api/docs/reference/latest/CampaignService.RealTimeBiddingSetting - TargetRestrictSettinghttps://developers.google.com/adwords/api/docs/reference/latest/CampaignService.TargetRestrictSetting Thanks! - Jim -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Not able to schedule adword campaign
Hi, This is an AdWords question, could you please ask it at https://www.en.adwords-community.com/t5/AdWords-Community/ct-p/AdWords? Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, 27 July 2012 20:56:45 UTC+5:30, scrapcar wrote: Hi all just started campaign, have followed instructions for running schedule and i do not have followed instruction and to have option to run by schedule this is the instructions i have followed: Creating a custom ad schedule for your campaign Here's how to schedule specific times and days for your ads to run: 1. Sign in to your AdWords account at https://adwords.google.comhttp://adwords.google.com/select/ . 2. Click the *Campaigns* tab at the top. 3. Under *All online campaigns*, click the name of the campaign to be scheduled. 4. Click the *Settings* tab. 5. In the Advanced settings section, click *Schedule: Start date, end date, and ad scheduling*. I do not have Advanced settings option any help please -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Using the Sandbox with the Ruby Library
Hello Richard, Your configuration looks ok to me. I suggest to run this example to initialize the sandbox: http://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201206/basic_operations/get_campaigns.rb After first run, you can make this request to find out account client customer Ids: http://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201206/account_management/get_account_hierarchy.rb After that, pick one of non-MCC account and set the library configuration to use it. -Danial, AdWords API Team. On Saturday, July 28, 2012 2:02:53 AM UTC+4, Richard Burton wrote: Hi there, I want to play in the sandbox and generate the demo client IDs. How do I do this? Here is where I am at so far: adwords = AdwordsApi::Api.new({ :authentication = { :method = 'ClientLogin', :developer_token = '*@gmail.com++EUR', :user_agent = 'Richard Burton', :password = '', :email = '*@gmail.com' }, :service = { :environment = 'SANDBOX' } }) campaign_srv = adwords.service(:CampaignService, :v201109) campaigns = campaign_srv.get({:fields = ['Id', 'Name', 'Status']}) campaigns.each do |c| puts c.methods.sort end Thanks a lot in advance for any help. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Keywords Performance Report - Including sub accounts
Hi there, I'm using the C# Client Library version v201109_1 to get the Keywords Performance Report. I can't manage to include the sub account for the master account for which I'm requesting the report for. Is there any way to include the sub accounts to the report ? 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
MUST_USE_CONCRETE_ADEXTENSION: Cannot add sitelinks
Hi, I am not sure what I am doing wrong. I am setting the CampaignAdExtension.setAdExtension to SitelinksExtension. I am still not able to create sitelinks. When I look at the Soap request, the Operand contains the campaign id but empty tag for AdExtension. I am using 201109 version of the api. Here is my code: SitelinksExtension sitelinksExtension = new SitelinksExtension(); ListSitelink sitelinksList = new ArrayListSitelink(); Sitelink sitelink = new Sitelink(); sitelink.setDisplayText(Display Text); sitelink.setDestinationUrl(DestinationUrl); sitelinksList.add(sitelink); Sitelink[] sitelinkArray = sitelinksList.toArray(new Sitelink[sitelinksList.size()]); sitelinksExtension.setSitelinks(sitelinkArray); CampaignAdExtension campaignAdExtension = new CampaignAdExtension(); campaignAdExtension.setCampaignId(hydraVendorCampaign.getId()); campaignAdExtension.setAdExtension(sitelinksExtension); //Create the operation CampaignAdExtensionOperation operation = new CampaignAdExtensionOperation(); operation.setOperand(campaignAdExtension); operation.setOperator(Operator.ADD); CampaignAdExtensionReturnValue retVal = campaignAdExtensionService.mutate(new CampaignAdExtensionOperation[] {operation}); if (retVal != null retVal.getValue() != null retVal.getValue().length 0) { log.info(Created Successfully); } else { log.error(Error creating sitelinks); } Part of Request: mutate xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns= https://adwords.google.com/api/adwords/cm/v201109;operationsoperatorADD/operatoroperandcampaignId36486119/campaignIdadExtension//operand/operations/mutate/soapenv:Body/soapenv:Envelope Part of Response: serviceNameCampaignAdExtensionService/serviceNamemethodNamemutate/methodNameoperations1/operationsresponseTime948/responseTimeunits1/units/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[CampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSIONhttps://adwords.google.com/api/adwords/cm/v201109%22%3E%3CrequestId%3E0004c6081aa505180a962f1a1d26%3C/requestId%3E%3CserviceName%3ECampaignAdExtensionService%3C/serviceName%3E%3CmethodName%3Emutate%3C/methodName%3E%3Coperations%3E1%3C/operations%3E%3CresponseTime%3E948%3C/responseTime%3E%3Cunits%3E1%3C/units%3E%3C/ResponseHeader%3E%3C/soap:Header%3E%3Csoap:Body%3E%3Csoap:Fault%3E%3Cfaultcode%3Esoap:Server%3C/faultcode%3E%3Cfaultstring%3E%5BCampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION@ operations[0].operand.adExtension]/faultstringdetailApiExceptionFault xmlns= https://adwords.google.com/api/adwords/cm/v201109;message[CampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION@ operations[0].operand.adExtension]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors xsi:type=CampaignAdExtensionError xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance;fieldPathoperations[0].operand.adExtension/fieldPathtrigger/errorStringCampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION/errorStringApiError.TypeCampaignAdExtensionError/ApiError.TypereasonMUST_USE_CONCRETE_ADEXTENSION/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope I can't figure out what's wrong. Any help would be great! Regards, Senthil -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Keywords Performance Report - Including sub accounts
Hi, you'll have to separately download a report for every sub-account by setting the corresponding clientCustomerId in your report request. Cross-client reports are unfortunately not possible anymore. Hope this helps, cheers Dorian On Monday, July 30, 2012 10:37:20 AM UTC+2, cvDeveloper wrote: Hi there, I'm using the C# Client Library version v201109_1 to get the Keywords Performance Report. I can't manage to include the sub account for the master account for which I'm requesting the report for. Is there any way to include the sub accounts to the report ? 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
Retrieving keyword match type in v201206 Java lib
I am currently trying to migrate my Java Application to the AdWords API v201206 (from v201109) and encounter problems when trying to get the search volume of a keyword with a specific match type (broad, phrase, exact). There doesn't seem to be an option/searchParameter to set the match type when performing a TargetingIdeaService-Query. Was this feature dropped with the new API version? The search parameter i used in v201109 was KeywordMatchTypeSearchParameter, which now isn't available any more. Is there an alternative? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Keywords Performance Report - Including sub accounts
OK. Thank you so much and have a nice day ! On Monday, July 30, 2012 12:40:15 PM UTC+3, Dorian Kind wrote: Hi, you'll have to separately download a report for every sub-account by setting the corresponding clientCustomerId in your report request. Cross-client reports are unfortunately not possible anymore. Hope this helps, cheers Dorian On Monday, July 30, 2012 10:37:20 AM UTC+2, cvDeveloper wrote: Hi there, I'm using the C# Client Library version v201109_1 to get the Keywords Performance Report. I can't manage to include the sub account for the master account for which I'm requesting the report for. Is there any way to include the sub accounts to the report ? 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: API developer token taking crazy long
We have now had a reply from google saying that our application has been rejected because we do not have enough performance data. This confuses me as i am applying for a developer token in order to pull data for my clients, i dont run any PPC campaigns so of course i dont have any data. In order to get data, i have attempted to request access to one of our clients through MCC but when I enter their customer ID in the 'link existing account' section, i receive a message saying This client is already linked to the maximum number of allowed managers. However no further explanation is given. It seems as though there are so many hoops to jump through where no help is offered at all - for example not listing the questions that must be answered on the application page. Surely if my clients are happy for me to access their data, google should just make that happen quickly. You can see a lot of people on this thread who are trying to run business using this api and it really feels like google couldnt care any less On Tuesday, May 1, 2012 2:19:01 PM UTC+1, Maarten Deinema wrote: Hi, Could someone tell me what the normal duration is for the API developer token approval? We have requested access late 2011, and the token is still Pending Approval. We have had requests for additional information three times now, and have sent the information each time. Is there any way to speed up the process? We have customers waiting for our software, and they are getting very impatient. When sending email to adwordsapi-tok...@google.com there is no reply at all. Regards, Maarten -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Get New Campaigns Only
Hi Brandon, Campaign IDs are roughly incremental. That is, a campaign created a year ago will have a lower ID than the one created today (to the best of my knowledge). However, this is guaranteed. We do guarantee that IDs will be unique, but with no constraint on ordering. In general, there are better ways to approach this. For services that use a generic selector, you can specify a Paging value to only retrieve N results at a time. However, the CustomerSyncService uses its own selectorhttps://developers.google.com/adwords/api/docs/reference/latest/CustomerSyncService.CustomerSyncSelectorwhich doesn't support paging. It also doesn't support predicates, so your proposed method will not work. Instead we recommend to specify a smaller time interval in the selector. If you find retrieving everything for a day to be overwhelming, change the date range to one hour and make 24 calls, for example. - Kevin Winter AdWords API Team On Tuesday, July 17, 2012 4:43:59 PM UTC-4, Brandon Parise wrote: Are CampaignID's incremental? I am performing a CustomerSyncService operation but don't want to download the entire list of Campaign's each time. I was thinking of using the MAX(CampaignID) from my previous sync as a predicate to only fetch *NEW* campaigns since my last sync: ?php $max = '12345'; // saved from my last sync (saved in local db) $selector-predicates []= new \Predicate('CampaignId', 'GREATER_THAN', array($max)); ? So only CampaignId's 12345 would need to be pulled down, thoughts? Brandon -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 can I be sure when to download API report by GMT of the client?
Hi, I wrote the blog posthttp://adwordsapi.blogspot.com/2011/06/statistics-in-reports.htmlreferred to. We've since converted it to a Help Center article with updated information: https://support.google.com/adwords/bin/answer.py?hl=enanswer=2544985 - Kevin Winter AdWords API Team On Monday, July 23, 2012 7:35:59 AM UTC-4, nf7588 wrote: Thank you both so much!!! it has been very helpful for me!! On Monday, July 23, 2012 1:46:01 PM UTC+3, Zweitze wrote: Some time ago a Google employee wrote a blog about this. Essentially the data is complete at 04.00h in the time zone of that account. But beware of a few notable exceptions: - When the account advertises on display networks or at search partners, it may be victim of click fraud. Google detects this and reverses the damages, but that takes two to three days. So the clicks and cost may change in the next days. - Conversions are attributed to the date of the last click, even when there are days between the conversion date and click date. The maximum time span is the life time of the conversion, which is thirty days. Further, conversion results are synchronized within the Google networks with low priority, so add another day as well. To make calculations on time zone differences, and dealing with related issues like (differences in start days of) daylight savings time, look at the libraries of your framework and/or programming language. On Sunday, July 22, 2012 10:28:50 AM UTC+2, nf7588 wrote: Hi Oliver, Sorry for the delay in my response. we have scheduled a service to retrieve the reports once a day on YESTERDAY value. but i was wondering how do i make the calculation? if i'm in Time Zone GMT and want to download report for a client in GMT -8 how can i be sure when the API report should be retrieve for yesterday date? Thank You On Tuesday, July 10, 2012 6:09:16 PM UTC+3, Oliver wrote: The timezone is managed by the account itself and not by where your application is running. Every adwords account has a timezone associated with it. So, for example, if you use the enum value YESTERDAY as defined here: https://developers.google.com/adwords/api/docs/reference/v201109_1/ReportDefinitionService.ReportDefinition.DateRangeType then the API will return yesterday's data according to the timezone of the account irrespective of the timestamp on your hosting server. HTH Oliver On Tuesday, July 10, 2012 3:31:33 PM UTC+1, nf7588 wrote: Hi, we have a web-based program to show the client his API reports from Ad-words i would like to know , according to the client GMT how can i know for sure when his data for yesterday is most updated? 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: Get New Campaigns Only
To clarify, I meant to say that ordering of IDs is not guaranteed and should not be relied upon. Please don't make any assumptions about IDs other than that they are unique. - Kevin Winter AdWords API Team On Monday, July 30, 2012 11:19:01 AM UTC-4, Kevin Winter wrote: Hi Brandon, Campaign IDs are roughly incremental. That is, a campaign created a year ago will have a lower ID than the one created today (to the best of my knowledge). However, this is guaranteed. We do guarantee that IDs will be unique, but with no constraint on ordering. In general, there are better ways to approach this. For services that use a generic selector, you can specify a Paging value to only retrieve N results at a time. However, the CustomerSyncService uses its own selectorhttps://developers.google.com/adwords/api/docs/reference/latest/CustomerSyncService.CustomerSyncSelectorwhich doesn't support paging. It also doesn't support predicates, so your proposed method will not work. Instead we recommend to specify a smaller time interval in the selector. If you find retrieving everything for a day to be overwhelming, change the date range to one hour and make 24 calls, for example. - Kevin Winter AdWords API Team On Tuesday, July 17, 2012 4:43:59 PM UTC-4, Brandon Parise wrote: Are CampaignID's incremental? I am performing a CustomerSyncService operation but don't want to download the entire list of Campaign's each time. I was thinking of using the MAX(CampaignID) from my previous sync as a predicate to only fetch *NEW* campaigns since my last sync: ?php $max = '12345'; // saved from my last sync (saved in local db) $selector-predicates []= new \Predicate('CampaignId', 'GREATER_THAN', array($max)); ? So only CampaignId's 12345 would need to be pulled down, thoughts? Brandon -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: The easiest way to get AccountDescriptiveName in v201206
Hi, The ManagedCustomerService can be used to obtain the Name field, which is the value supplied when the MCC links the client account. The GetAccountHierarchy code example included with the client libraries demonstrates how to use this service and field. Please note that as of the time I write this, there's a bug that prevents this from working in the sandbox which we hope to resolve shortly. Production use should be unaffected. - Kevin Winter AdWords API Team On Monday, July 23, 2012 7:59:18 AM UTC-4, Orlovskiy Alexander wrote: It was easy enough to get DescriptiveName for accounts in 201109_01, but I have not found to do the same thing in 201206 API. DescriptiveName is useful information for my reports. Is there any way to get it through new API? P.S. I'm using http://code.google.com/p/google-api-adwords-perl/ -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Is it possible to have the same AdExtensionId for AdExtensions in different Accounts?
Hi Akil, I don't believe there is any guarantee that AdExtensionId will be globally unique. It should be unique within a single client Account, but I cannot make any promises that it will always be globally unique. - Kevin Winter AdWords API Team On Monday, July 23, 2012 8:24:19 AM UTC-4, Akil Burgess wrote: Hi All, Is it possible that two accounts can have two separate AdExtensions that have the same *AdExtensionId*? i.e. Is AdExtensionId globablly unique in an MCC account? Thanks, Akil -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: What are the arguments passed in getOrdersByContactName(arg0, arg1, arg2, arg3, arg4, arg5) function in dartapi_13.6.09?
Hi Saravana, I'm sorry, but you have the wrong forum. This forum is for discussing the AdWords API. - Kevin Winter AdWords API Team On Tuesday, July 24, 2012 8:26:50 AM UTC-4, saravana E wrote: Hi, I am Saravana and i am using Dartapi_13.6.9 jar file for retrieving the data from dart. I am not able to comprehend the correct arguments for the methods in the library. please help me. Regards, Saravana. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Get New Campaigns Only
Thanks for the clarification! Don't know why it took me this long but I can use our local list of campaigns as an inverse selector: ?php $list = array('of','campaign','ids','locally'); $selector-predicates []= new \Predicate('CampaignId', 'NOT_IN', array($list)); ? Brandon On Monday, July 30, 2012 11:28:10 AM UTC-4, Kevin Winter wrote: To clarify, I meant to say that ordering of IDs is not guaranteed and should not be relied upon. Please don't make any assumptions about IDs other than that they are unique. - Kevin Winter AdWords API Team On Monday, July 30, 2012 11:19:01 AM UTC-4, Kevin Winter wrote: Hi Brandon, Campaign IDs are roughly incremental. That is, a campaign created a year ago will have a lower ID than the one created today (to the best of my knowledge). However, this is guaranteed. We do guarantee that IDs will be unique, but with no constraint on ordering. In general, there are better ways to approach this. For services that use a generic selector, you can specify a Paging value to only retrieve N results at a time. However, the CustomerSyncService uses its own selectorhttps://developers.google.com/adwords/api/docs/reference/latest/CustomerSyncService.CustomerSyncSelectorwhich doesn't support paging. It also doesn't support predicates, so your proposed method will not work. Instead we recommend to specify a smaller time interval in the selector. If you find retrieving everything for a day to be overwhelming, change the date range to one hour and make 24 calls, for example. - Kevin Winter AdWords API Team On Tuesday, July 17, 2012 4:43:59 PM UTC-4, Brandon Parise wrote: Are CampaignID's incremental? I am performing a CustomerSyncService operation but don't want to download the entire list of Campaign's each time. I was thinking of using the MAX(CampaignID) from my previous sync as a predicate to only fetch *NEW* campaigns since my last sync: ?php $max = '12345'; // saved from my last sync (saved in local db) $selector-predicates []= new \Predicate('CampaignId', 'GREATER_THAN', array($max)); ? So only CampaignId's 12345 would need to be pulled down, thoughts? Brandon -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Sandbox MCC GetCampaigns Not Generating Test ClientCustomerId Values
Hi Sander, I apologize, we recently re-tested and found there is something preventing the proper creation of new accounts. We've asked the core engineers to investigate but we do not have an ETA or workaround at this time. - Kevin Winter AdWords API Team On Wednesday, July 25, 2012 4:04:33 PM UTC-4, Sander wrote: Hi Kevin, I just made a new account, but have the same result: My code: $user = new AdWordsUser(null, $username, $password, $developerToken); $user-SetDefaultServer(https://adwords-sandbox.google.com/;); $user-SetClientId(null); $campaignService = $user-GetService('CampaignService', 'v201109_1'); // Create selector. $selector = new Selector(); $selector-fields = array('Id', 'Name'); $selector-ordering[] = new OrderBy('Name', 'ASCENDING'); // Create paging controls. $selector-paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); do { // Make the get request. $page = $campaignService-get($selector); // Display results. if (isset($page-entries)) { foreach ($page-entries as $campaign) { printf(Campaign with name '%s' and id '%s' was found.\n, $campaign-name, $campaign-id); } } else { print No campaigns were found.\n; } // Advance the paging index. $selector-paging-startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; } while ($page-totalNumEntries $selector-paging-startIndex); $campaignService = $user-GetService('CampaignService', 'v201109'); $customerSyncService = $user-GetService('CustomerSyncService', 'v201109'); $accountService = $user-GetService(ServicedAccountService, 'v201109'); $selector = new ServicedAccountSelector(); $page = $accountService-get($selector); echo PRE; print_r($page); foreach ($page-accounts as $account) { print Customer ID: {$account-customerId}\n; } Resulting in: No campaigns were found. ServicedAccountGraph Object ( [accounts] = Array ( [0] = Account Object ( [customerId] = 0 [login] = client_1+testapisand...@gmail.com [companyName] = [canManageClients] = [currencyCode] = [dateTimeZone] = ) [1] = Account Object ( [customerId] = 0 [login] = client_2+testapisand...@gmail.com [companyName] = [canManageClients] = [currencyCode] = [dateTimeZone] = ) Am I in the wrong ? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Sandbox MCC GetCampaigns Not Generating Test ClientCustomerId Values
Hi E, Unfortunately, we don't have a public issue tracker for these types of issues (but we do for client-library-specific issues). We hope to have the fix out shortly. - Kevin Winter AdWords API Team On Wednesday, July 25, 2012 4:43:02 PM UTC-4, elroyskimms wrote: Thanks. The v201109_1 code works as expected. Is there a bug or issue tracker (I'm very new here) that I can follow so I know when the issue is resolved and I can go back and use the current v201206 code? -E On Wednesday, July 25, 2012 11:11:41 AM UTC-4, Kevin Winter wrote: Hi, I apologize that there is a known problem with using the ManagedCustomerService in v201206 in the sandbox (the v201206 GetAccountHierarchy does). Could you please use the v201109_1 GetAccountHierarchy example in the meantime? We hope to get a fix out in a week or two. - 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: OAuth - didn't see it mentioned so I thought I'd ask
Hi VijayRaj, I think that at this point this is a client-library-specific issue - could you please file an issue on the project issue tracker with your stacktrace and a quick description of your environemnt? We're still looking into this, but having it on the issue tracker will keep the library-specific information where it belongs. - Kevin Winter AdWords API Team On Thursday, July 26, 2012 1:53:07 AM UTC-4, VijayRaj Chauhan wrote: Hi Kevin, Kindly update this thread once you get any clue about this issue. TIA, VijayRaj On Wednesday, 25 July 2012 20:31:48 UTC+5:30, Kevin Winter wrote: Hi VijayRaj, We suspect that the reflections library we're using may have issues with certain classpath setups (JBosshttp://code.google.com/p/reflections/wiki/JBossIntegrationin particular). We're looking into this. - Kevin Winter AdWords API Team On Wednesday, July 25, 2012 3:59:49 AM UTC-4, VijayRaj Chauhan wrote: Hi Kevin, It works fine when I used in IDE...I get this error when I bundled these jars in our web application inside the lib folder...Other than these jars we have only tomcat jars... TIA, VijayRaj On Friday, 20 July 2012 19:40:23 UTC+5:30, Kevin Winter wrote: Hi VijayRaj, I just set up a new eclipse project that only had the jars from adwords-axis-examples-1.5.0-dependencies and added the source of the examples. I then ran GetCampaigns (which used my homedir ads.properties file) successfully. What's different about your environment? Are you using an IDE? What else is on the classpath besides these jars? - Kevin Winter AdWords API Team On Tuesday, July 17, 2012 3:43:20 AM UTC-4, VijayRaj Chauhan wrote: Hi Kevin, I have included all the dependency jars from *adwords-axis-examples-1.5.0-dependencies.tar *in my projectWhile trying to get Campaigns I get the following error java.net.URISyntaxException: Illegal character in opaque part at index 7 at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parse(URI.java:3019) at java.net.URI.init(URI.java:578) at java.net.URL.toURI(URL.java:918) at org.reflections.vfs.Vfs.normalizePath(Vfs.java:175) at org.reflections.vfs.Vfs$DefaultUrlTypes$3.matches(Vfs.java:160) at org.reflections.vfs.Vfs.fromURL(Vfs.java:94) at org.reflections.vfs.Vfs.fromURL(Vfs.java:88) at org.reflections.Reflections.scan(Reflections.java:199) at org.reflections.Reflections.init(Reflections.java:91) at com.google.api.ads.common.lib.AdsModule.init(AdsModule.java:60) at com.google.api.ads.adwords.lib.AdWordsModule.init(AdWordsModule.java:43) at com.google.api.ads.adwords.lib.factory.AdWordsServiceClientFactory.init(AdWordsServiceClientFactory.java:41) at com.google.api.ads.adwords.lib.factory.AdWordsServices.init(AdWordsServices.java:68) at com.google.api.ads.adwords.lib.factory.AdWordsServices.init(AdWordsServices.java:50) Do you have any idea about this error. Any help will be grateful. TIA, VijayRaj On Thursday, 31 May 2012 19:45:11 UTC+5:30, VijayRaj Chauhan wrote: Hi Kevin, I have filed an issue in the issue trackerKindly have a look at it and let us know about the status.. TIA, VijayRaj On Wednesday, 30 May 2012 00:24:34 UTC+5:30, Kevin Winter wrote: Hi VijayRaj, I think this is a bug in our maven pom.xml - it's pulling in an old version of the google oauth libs that doesn't have this field and it goes first on the classpath overriding the more recent entry. Could you please file an issue on our issue tracker while we figure out how best to fix this? http://code.google.com/p/google-api-ads-java/issues/list - Kevin Winter AdWords API Team On Monday, May 28, 2012 10:50:39 AM UTC-4, VijayRaj Chauhan wrote: Hi Kevin, I have been trying Oauth1.0a authentication from the link which you have mentioned earlier http://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201109/misc/OAuthExample.java I also extracted all the dependencies from the file *adwords-axis-examples-1.3.0-dependencies.tar.gz, b*ut I still get an error mentioning that * GoogleOAuthGetTemporaryToken* and *GoogleOAuthGetAccessToken* does not have *transport* variable i.e., the error comes from line no. 67 and 102 in that above example...Am I missing something?? Could you pls help me in getting this work?? TIA, VijayRaj On Friday, 27 April 2012 11:51:02 UTC+5:30, Anash P. Oommen wrote: Hi Ewan, Also look at https://developers.google.com/appengine/docs/python/urlfetch/overview#Quotas_and_Limits. This could limit how big a report you can download and process on AppEngine. Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, 6 April 2012 18:55:53 UTC+5:30, Kevin Winter wrote: Hi Ewan, In theory (and for very simple usage), yes. However, we're still troubleshooting this issue:
Re: How to use local search trends (usa) via google api
Hi Chirag, To the best of my knowledge, it's not possible to obtain local monthly search trends via the AdWords API. - Kevin Winter AdWords API Team On Thursday, July 26, 2012 2:42:21 AM UTC-4, Chirag wrote: Hi Kevin, Thanks for reply. So any other way to get local search trends. Is it possible using adwords API? Thanks, chirag On Wednesday, July 25, 2012 2:45:40 AM UTC+5:30, Kevin Winter wrote: Hi Chirag, The TrafficEstimatorService is intended to provide estimates, not trends over time. Values returned are based on historical observed values as well as projections. This isn't currently possible. - Kevin Winter AdWords API Team On Saturday, July 21, 2012 7:24:09 AM UTC-4, Chirag wrote: Hi Kevin, Yes, I can use traffic estimate service. But i am not able to found any date selector. Using this service i cannot get trends for past few months as local search trends. Thanks, chirag On Wednesday, July 6, 2011 8:07:48 PM UTC+5:30, Kevin Winter wrote: Hi, This java example linked from the documentation explains how to use the TrafficEstimatorService to retrieve the estimated clicks and other statistics for keywords: http://www.google.com/codesearch/p?hl=en#9RD3n1d8sRQ/trunk/examples/v201101/GetTrafficEstimates.javaq=Tags:.*TrafficEstimatorService%20v201101%20package:google-api-adwords-java%7Cgoogle-api-adwords-php%7Cgoogle-api-adwords-python-lib%7Cgoogle-api-adwords-dotnet%7Cgoogle-api-adwords-ruby%7Cgoogle-api-ads-ruby%7Cgoogle-api-adwords-perlsa=Nct=rxcd=2 - Kevin -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Getting error !!!1|||-1|||Unexpected exception??? while using adhoc report service
Hi Chirag, Given the volume of successful reports, an error once every ten days is quite low. Unfortunately, our logs don't extend back 10 days. The next time this happens, could you please email me off-list with the clientCustomerId and the ReportDefinition XML you used? I'd like to try to find the request in our logs and investigate further. - Kevin Winter AdWords API Team On Thursday, July 26, 2012 3:34:48 AM UTC-4, Chirag wrote: Hi Kevin, Does this consistently happen for the same ReportDefinition XML and CID? Is it sporadic or happening frequently? Yes this happens consistently. But consistency is long, means on 10 days gap. Does retrying help? Yes, After retry i am able to get report properly. could you please provide an example CID and XML? [Jul 02 2012 10:13:14.00 - ERROR] POST /api/adwords/reportdownload/v201109 HTTP/1.1 User-Agent: curl, gzip Host: adwords.google.com Accept: */* Accept-Encoding: gzip Authorization: OAuth oauth_version=1.0a, oauth_nonce=26a0907897dcde4bf3a79367fa132d59, oauth_timestamp=1341204143, oauth_consumer_key=---, oauth_token=---, oauth_signature_method=HMAC-SHA1, oauth_signature= developerToken: --- clientCustomerId: 7318360174 returnMoneyInMicros: false Content-Length: 1459 Expect: 100-continue Content-Type: multipart/form-data; boundary=864287f92c41 Parameters: __rdxml: ?xml version=1.0? reportDefinition selector fieldsClicks/fields fieldsImpressions/fields fieldsCtr/fields fieldsAverageCpc/fields fieldsAverageCpm/fields fieldsCost/fields fieldsAveragePosition/fields fieldsInvalidClicks/fields fieldsInvalidClickRate/fields fieldsConversions/fields fieldsCostPerConversion/fields fieldsConversionRate/fields fieldsViewThroughConversions/fields fieldsConversionsManyPerClick/fields fieldsCostPerConversionManyPerClick/fields fieldsConversionRateManyPerClick/fields fieldsTotalConvValue/fields fieldsValuePerConversion/fields fieldsValuePerConversionManyPerClick/fields fieldsImpressionShare/fields fieldsExactMatchImpressionShare/fields fieldsBudgetLostImpressionShare/fields fieldsCampaignId/fields fieldsCampaignName/fields fieldsStatus/fields fieldsAccountCurrencyCode/fields /selector reportNameWeekwise Adhoc report #1341204143/reportName reportTypeCAMPAIGN_PERFORMANCE_REPORT/reportType dateRangeTypeLAST_WEEK/dateRangeType downloadFormatCSV/downloadFormat includeZeroImpressionstrue/includeZeroImpressions /reportDefinition Response Code: 500 Error Message: Unexpected exception Thanks, chirag On Wednesday, July 25, 2012 2:34:59 AM UTC+5:30, Kevin Winter wrote: Hi Chirag, Does this consistently happen for the same ReportDefinition XML and CID? Is it sporadic or happening frequently? Does retrying help? (we recommend retrying after a delay for this error in general). If it's happening consistently, could you please provide an example CID and XML? - Kevin Winter AdWords API Team On Thursday, July 19, 2012 6:26:27 AM UTC-4, Chirag wrote: Hello All, Getting error !!!1|||-1|||Unexpected exception??? while fetching report using ADHOC reporting service. Getting this error now from last few days. Not found any help what i am doing wrong. this is working fine previously. Thanks, Chirag -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Error The user configured in the account is invalid when using MCC api login access
Hi, We still haven't seen this error before. Can you please indicate what service and version you are using? Providing sanitized logs or a RequestId would also be helpful. - Kevin Winter AdWords API Team On Thursday, July 26, 2012 2:11:52 PM UTC-4, lazartefederico wrote: Hello, i have the same situation, can u resolve this? On Thursday, February 3, 2011 12:36:50 PM UTC-3, Mike Warwick wrote: We are currently using 1 root MCC level login to update all of our client accounts, which sit in various sub MCC's This works for all clients except one which has its own MCC and fails around 80% of the api update attempts. The attempts fail on all accounts within this sub MCC. The error returned is The user configured in the account is invalid. What I fail to understand is occasionally the updates are processed without error even though no conditions change. Has anyone experienced this before? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Where is the v201206 Java client library?
To follow up with what Jim said, we're also publishing a dependencies tarball that includes all the jars necessary to use the AdWords API with the new library: http://code.google.com/p/google-api-ads-java/downloads/detail?name=adwords-axis-examples-1.6.0-dependencies.tar.gz This could be used in conjunction with the separate download for the examples without the need for maven. - Kevin Winter AdWords API Team On Friday, July 27, 2012 11:34:33 AM UTC-4, Jim McCabe wrote: The JARs can be found herehttps://developers.google.com/adwords/api/docs/clientlibraries. The page has links to the old (standard) JAR as well as the new (Maven-ready) JAR. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Question about adParam GET/SET best practices
AdParam Get/Set best practices I am running a script that updates the AdParams for a campaign once a day. There are potentially 90,000 adgroups that could be updated daily. This takes forever, when it works without some sort of error occurring. I was wondering if anyone had some tips on best practices to use when running adparam updates. Here's how I perform the updates. $adGroupId = an adGroup id; $keywordIds = array of keyword ids associated with $adGroupId; $param1 = numeric value; try { $operations = array(); foreach($keywordIds as $keywordId) { $adParam1 = new AdParam($adGroupId, $keywordId, $param1, 1); // Create operations for the first adparam $adParamOperation = new AdParamOperation(); $adParamOperation-operand = $param1; $adParamOperation-operator = 'SET'; $operations[] = $adParamOperation; } if(!empty($operations)) { $adParams = $this-adParamService-mutate($operations); } } catch (Exception $e) { . . . } 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: Discrepancies between adwords web interface and API
Hi Tom, I tried to reproduce your results by requesting a report as you described - I got the same in API and UI. Could you please post your ReportDefinition XML so I can reproduce more exactly? - Kevin Winter AdWords API Team On Monday, July 23, 2012 10:32:40 AM UTC-4, kzimmermann wrote: Hi, I'm seeing cost discrepancies for a specific campaign between the adword web UI and the result I get from using the adwords API. Wenn pulling a keyword performance report and criteria performance report for the campaignID: 66227913, and the customerID 117-406-9382 for july 1st 2012, I get a total of 3350 impressions, 10 clicks and 2.11 Euro cost. Yet at: https://adwords.google.com/cm/CampaignMgmt?__u=6643840357__c=6047892997syncServiceIdentity=true#c.66227913.agapp=cmhttp://dict.leo.org/ende?lp=endep=_xpAAsearch=discrepancytrestr=0x8001 I see a total of 4588 impressions, 14 clicks and 3.21 Euro cost. I tried pulling the reports several times with the same result. This is the only campaign for which we're experiencing this kind of discrepancies. The date above is just an example date, we're actually seeing differences for all days, but only for this campaign. With all other campaigns that we're managing for our clients, the web UI and the result from the API are equal. Can you please give me a hint of why this might be ? Many thanks Tom http://dict.leo.org/ende?lp=endep=_xpAAsearch=discrepancytrestr=0x8001 -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: MUST_USE_CONCRETE_ADEXTENSION: Cannot add sitelinks
Anyone? Thanks! On Monday, July 30, 2012 2:11:03 AM UTC-7, Senthil KS wrote: Hi, I am not sure what I am doing wrong. I am setting the CampaignAdExtension.setAdExtension to SitelinksExtension. I am still not able to create sitelinks. When I look at the Soap request, the Operand contains the campaign id but empty tag for AdExtension. I am using 201109 version of the api. Here is my code: SitelinksExtension sitelinksExtension = new SitelinksExtension(); ListSitelink sitelinksList = new ArrayListSitelink(); Sitelink sitelink = new Sitelink(); sitelink.setDisplayText(Display Text); sitelink.setDestinationUrl(DestinationUrl); sitelinksList.add(sitelink); Sitelink[] sitelinkArray = sitelinksList.toArray(new Sitelink[sitelinksList.size()]); sitelinksExtension.setSitelinks(sitelinkArray); CampaignAdExtension campaignAdExtension = new CampaignAdExtension(); campaignAdExtension.setCampaignId(hydraVendorCampaign.getId()); campaignAdExtension.setAdExtension(sitelinksExtension); //Create the operation CampaignAdExtensionOperation operation = new CampaignAdExtensionOperation(); operation.setOperand(campaignAdExtension); operation.setOperator(Operator.ADD); CampaignAdExtensionReturnValue retVal = campaignAdExtensionService.mutate(new CampaignAdExtensionOperation[] {operation}); if (retVal != null retVal.getValue() != null retVal.getValue().length 0) { log.info(Created Successfully); } else { log.error(Error creating sitelinks); } Part of Request: mutate xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns= https://adwords.google.com/api/adwords/cm/v201109;operationsoperatorADD/operatoroperandcampaignId36486119/campaignIdadExtension//operand/operations/mutate/soapenv:Body/soapenv:Envelope Part of Response: serviceNameCampaignAdExtensionService/serviceNamemethodNamemutate/methodNameoperations1/operationsresponseTime948/responseTimeunits1/units/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[CampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSIONhttps://adwords.google.com/api/adwords/cm/v201109%22%3E%3CrequestId%3E0004c6081aa505180a962f1a1d26%3C/requestId%3E%3CserviceName%3ECampaignAdExtensionService%3C/serviceName%3E%3CmethodName%3Emutate%3C/methodName%3E%3Coperations%3E1%3C/operations%3E%3CresponseTime%3E948%3C/responseTime%3E%3Cunits%3E1%3C/units%3E%3C/ResponseHeader%3E%3C/soap:Header%3E%3Csoap:Body%3E%3Csoap:Fault%3E%3Cfaultcode%3Esoap:Server%3C/faultcode%3E%3Cfaultstring%3E%5BCampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION@ operations[0].operand.adExtension]/faultstringdetailApiExceptionFault xmlns= https://adwords.google.com/api/adwords/cm/v201109;message[CampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION@ operations[0].operand.adExtension]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors xsi:type=CampaignAdExtensionError xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance;fieldPathoperations[0].operand.adExtension/fieldPathtrigger/errorStringCampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION/errorStringApiError.TypeCampaignAdExtensionError/ApiError.TypereasonMUST_USE_CONCRETE_ADEXTENSION/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope I can't figure out what's wrong. Any help would be great! Regards, Senthil -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Fast rebiding
Hi , I have Campaign 50 000 keywords , i use to update (UpdateKeyword.cs) bidAmount = ((adGroupCriterion as BiddableAdGroupCriterion).bids as ManualCPCAdGroupCriterionBids).maxCpc.amount.microAmount; But to update 5 keywords it take 3-4 hours to update all. , i need change bid 2- 4 times in day , How i can do it fast? Can i create xml file and upload it ? Regards, Igor -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: VideoCampaigns and VideoAds / YouTube Promoted Videos
Hi - is there an update on this topic, re API support for YouTube videos? Or information on when there might be support? I'm thinking primarily from the reporting side of things, rather than the campaign management side. thanks reed -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
v201206 CampaignService CANNOT_MODIFY_CONTENT_CONTEXTUAL when targetContentContextual field set
We are trying to implement a Campaign setting, specifically * KeywordMatchSetting,* and are running into an ERROR: message[TargetError.CANNOT_MODIFY_CONTENT_CONTEXTUAL @ operations[0].operand.networkSetting]/message Thinking this was related to network targeting I tried all possible combinations: networkSettingtargetGoogleSearch*true* /targetGoogleSearchtargetSearchNetwork*true* /targetSearchNetworktargetContentNetwork*false* /targetContentNetworktargetContentContextual*false* /targetContentContextual/networkSetting networkSettingtargetGoogleSearch*false* /targetGoogleSearchtargetSearchNetwork*false* /targetSearchNetworktargetContentNetwork*true* /targetContentNetworktargetContentContextual*true* /targetContentContextual/networkSetting networkSettingtargetGoogleSearch*true* /targetGoogleSearchtargetSearchNetwork*true* /targetSearchNetworktargetContentNetwork*true* /targetContentNetworktargetContentContextual*true* /targetContentContextual/networkSetting This one is an error condition on our end, but I tried it anyways: networkSettingtargetGoogleSearch*false* /targetGoogleSearchtargetSearchNetwork*false* /targetSearchNetworktargetContentNetwork*false* /targetContentNetworktargetContentContextual*false* /targetContentContextual/networkSetting Each request failing with the same ERROR as above. I found that if I do not set: campaign.networkSetting. targetContentContextual (to either TRUE or FALSE), I can successfully post. Given this documentation I do not see why I should be getting this error if I include targetContentContextual as part of the v201206 networkSettings: https://developers.google.com/adwords/api/docs/reference/latest/CampaignService.NetworkSetting#targetContentContextual: Ads will be served on the Google Display Network based on Keyword criteria contextually matching the placement's content (requires CONTENT_NETWORK). This field can be selected using the value TargetContentContextual. *This field can be filtered on.This is disabled for AdX.* https://developers.google.com/adwords/api/docs/reference/v201109/CampaignService.NetworkSetting#targetContentContextual: Ads will be served on the Google Display Network based on Keyword criteria contextually matching the placement's content (requires CONTENT_NETWORK). This field can be selected using the value TargetContentContextual. This field can be filtered on. Thoughts? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;soapenv:Headerns1:RequestHeader soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next; soapenv:mustUnderstand=0 xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201206;ns1:authTokenXXX-xxx/ns1:authTokenns1:clientCustomerId6038427475/ns1:clientCustomerIdns1:developerToken/ns1:developerTokenns1:userAgent/ns1:userAgentns1:validateOnlyfalse/ns1:validateOnlyns1:partialFailurefalse/ns1:partialFailure/ns1:RequestHeader/soapenv:Headersoapenv:Bodymutate xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns=https://adwords.google.com/api/adwords/cm/v201206;operationsoperatorADD/operatoroperandnameDVCXQAqOEKdYaSp/namestatusPAUSED/statusbudgetperiodDAILY/periodamountmicroAmount6007/microAmount/amountdeliveryMethodSTANDARD/deliveryMethod/budgetbiddingStrategy xsi:type=ns2:ManualCPC xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201206/adServingOptimizationStatusOPTIMIZE/adServingOptimizationStatussettings xsi:type=ns3:KeywordMatchSetting xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201206;optInfalse/optIn/settingsnetworkSettingtargetGoogleSearchtrue/targetGoogleSearchtargetSearchNetworktrue/targetSearchNetworktargetContentNetworkfalse/targetContentNetworktargetContentContextualfalse/targetContentContextual/networkSetting/operand/operations/mutate/soapenv:Body/soapenv:Envelope 2012-07-30 10:44:39,299 DEBUG [org.apache.axis.transport.http.HTTPSender] - HTTP/1.0 500 Internal Server Error 2012-07-30 10:44:39,299 DEBUG [org.apache.axis.transport.http.HTTPSender] - Content-Type text/xml; charset=UTF-8 2012-07-30 10:44:39,299 DEBUG [org.apache.axis.transport.http.HTTPSender] - Date Mon, 30 Jul 2012 17:44:38 GMT 2012-07-30 10:44:39,299 DEBUG [org.apache.axis.transport.http.HTTPSender] - Expires Mon, 30 Jul 2012 17:44:38 GMT 2012-07-30
Duplicate Location Error
I have a really strange problem when uploading locations through the AdWords Editor. I will upload a batch of 1,000 locations (either ZIPs or a mix of ZIPs and radii with coordinates). When I do Check Locations, a whole bunch of them come up as duplicates, and neither one of them will upload. I need to manually go through them and delete one of the two locations (which are now listed twice) and recheck locations; otherwise it will not upload. I've had this on every campaign; not just one. I have checked and double-checked my data for duplicates, and there are none. Has anyone else experienced this phenomenon, and does anyone have any suggestions? Thanks! Ben -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: @kevin sandbox account initialization logic didn't properly initialize accounts (and assigned them zeros).
For the record, I believe this is my issue too. I'm using Ewan Heming's sandbox script and am getting this error: Customer ID: 0 Customer ID: 0 Customer ID: 0 Customer ID: 0 Customer ID: 0 Fatal error: Uncaught SoapFault exception: [soap:Server] [AuthorizationError.USER_PERMISSION_DENIED @ ] in /home/sagerock/public_html/AdWordsAPI/Google/Api/Ads/Common/Lib/AdsSoapClient.php:201 Stack trace: #0 /home/sagerock/public_html/AdWordsAPI/Google/Api/Ads/Common/Lib/AdsSoapClient.php(201): SoapClient-__soapCall('mutate', Array, NULL, Array, Array) #1 /home/sagerock/public_html/AdWordsAPI/Google/Api/Ads/AdWords/v201109/CampaignService.php(5728): AdsSoapClient-__soapCall('mutate', Array) #2 /home/sagerock/public_html/AdWordsAPI/sandbox2.php(53): CampaignService-mutate(Array) #3 {main} thrown in /home/sagerock/public_html/AdWordsAPI/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 201 I've tried a variety of Google accounts. When I put in the wrong credentials it gives me that error instead. So it appears I'm making a connection to the server. Thanks for your help! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Sandbox MCC GetCampaigns Not Generating Test ClientCustomerId Values
So just to confirm, setting up sandbox accounts is not possible at the moment? Knowing that will help me from going insane :) -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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