Java library not refreshing Access Token?
We're using the Java library (v201209) and noticed that our Access token expires every 1 hour ending up with OAUTH_TOKEN_INVALID exception. We were under the impression that the Java library takes care of renewing the Access token automatically, but this doesn't seem to be happening. Any ideas why? Oliver -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: [5-7596000000445] Re: AdGroup Targeting Method in v201209
Hi Danial, Do you have any updates on this? Regards,Peter Krasznai Péter kra...@freemail.hu írta: Hi Danial, Thanks for your response. However, I don#39;t understand exactly your explanation. You can see that the adgroup contains a managed placement (website):http://screencast.com/t/gye6paWX5w2I I don#39;t want to get placements of the adgroup with an other servcie call. I just want to know whether the adgroup has display targeting based on websites or has contextual targeting based on keywords (automatic placements). As per specification AdGroup#39;s TargetingSettingDetail should contain a CriterionTypeGroup of type PLACEMENT for this adgroup, right? And get nothing within TargetingSetting. I also checked that TargetingSettingDetail populated correctly for adgroups with Topics (VERTICAL) and Interests Remarketing (USER_INTEREST_AND_LIST). Do you have an idea why doesn#39;t work the same for placements? Thanks,Peter adwords-api@googlegroups.com írta: Hello Kraszi, I don#39;t see any targeting settings for this ad group, please see the API documentation for this field for more details: https://developers.google.com/adwords/api/docs/reference/latest/AdGroupService.TargetingSettingDetail As per managed placements, you can use AdGroupCriterionService to retrieve them instead: https://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService -Danial, AdWords API Team. On 02/06/13 18:22:25 Kraszi kra...@freemail.hu wrote: Hi Danial, I tried again with a different adgroup and now I get an empty settings entry like this: settings xsi:type=TargetingSetting xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; Setting.TypeTargetingSetting/Setting.Type /settings It#39;s still empty, however adgroup has managed placements. So, I expect to get a TargetSetting with PLACEMENT CriterionTypeGroup in the response -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [5-7596000000445] Re: AdGroup Targeting Method in v201209
Hello Peter, Please see my answer earlier in the thread. Let us know if it doesn't answer your question. -Danial, AdWords API Team. On Thursday, February 14, 2013 2:02:30 PM UTC+4, Kraszi wrote: Hi Danial, Do you have any updates on this? Regards,Peter Krasznai Péter kra...@freemail.hu javascript: írta: Hi Danial, Thanks for your response. However, I don#39;t understand exactly your explanation. You can see that the adgroup contains a managed placement (website):http://screencast.com/t/gye6paWX5w2I I don#39;t want to get placements of the adgroup with an other servcie call. I just want to know whether the adgroup has display targeting based on websites or has contextual targeting based on keywords (automatic placements). As per specification AdGroup#39;s TargetingSettingDetail should contain a CriterionTypeGroup of type PLACEMENT for this adgroup, right? And get nothing within TargetingSetting. I also checked that TargetingSettingDetail populated correctly for adgroups with Topics (VERTICAL) and Interests Remarketing (USER_INTEREST_AND_LIST). Do you have an idea why doesn#39;t work the same for placements? Thanks,Peter adwor...@googlegroups.com javascript: írta: Hello Kraszi, I don#39;t see any targeting settings for this ad group, please see the API documentation for this field for more details: https://developers.google.com/adwords/api/docs/reference/latest/AdGroupService.TargetingSettingDetail As per managed placements, you can use AdGroupCriterionService to retrieve them instead: https://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService -Danial, AdWords API Team. On 02/06/13 18:22:25 Kraszi kra...@freemail.hu javascript: wrote: Hi Danial, I tried again with a different adgroup and now I get an empty settings entry like this: settings xsi:type=TargetingSetting xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; Setting.TypeTargetingSetting/Setting.Type /settings It#39;s still empty, however adgroup has managed placements. So, I expect to get a TargetSetting with PLACEMENT CriterionTypeGroup in the response -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Oauth2 jwt ruby issue
Hello hagay, You should only use OAUTH2_JWT if you are administering your own domain. If you access 3rd party accounts, you should use plain OAUTH2. In case you do manage the domain, you need to grant the application to impersonate users for AdWords, please check with your domain administrator on have to do this. See also: https://developers.google.com/accounts/docs/OAuth2ServiceAccount -Danial, AdWords API Team. On Wednesday, February 13, 2013 6:55:14 PM UTC+4, hagay wrote: Hi, I am writing server side application that using adwords_api, witch mean i should use OAUTH2_JWT, right? To create the client id i used the api console with the option of 'service_account'. to the config file i am using: :authentication = { :method: OAUTH2_JWT :oauth2_issuer: the email address i got within the creation of the this client id :oauth2_secret: *notasecret* #Is it correct? :oauth2_keyfile: '/path/to/key.p12' # this filed downloaded :developer_token: 'dev_token', :client_customer_id: '123-456-7890'# the client_customer_id i used with the adwords api } i am getting the error: Signet::AuthorizationError: Authorization failed. Server message: { error : invalid_grant } what am i doing wrong? On Tuesday, January 15, 2013 2:04:53 PM UTC+2, Danial Klimkin wrote: Hello Georgi, If you initialize the library with a hash, you need to make sure to provide all required credentials. Make sure to include all required fields like this: adwords = AdwordsApi::Api.new({ :service = { :environment = :PRODUCTION }, :library = { :log_level = DEBUG }, :authentication = { :method: OAUTH2_JWT :oauth2_issuer: '12345...@developer.gserviceaccount.com' :oauth2_secret: 'key_secret' :oauth2_keyfile: '/path/to/key.p12' :developer_token: 'dev_token', :client_customer_id: '123-456-7890' } }) -Danial, AdWords API Team. On Monday, January 14, 2013 4:05:36 PM UTC+4, teamma...@gmail.com wrote: Hello everyone, We’ve recently started to use adwords api and now we are trying to automate few tasks. We’re using OAuth2 authentication and ruby. We’ve followed the example here https://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2_jwt.rbhttps://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2.rbto authenticate, the only difference is how we initialize the adwords api: adwords = AdwordsApi::Api.new({ :library = { :log_level = DEBUG }}) # option 1 and option 2 not modified from the example campaign_srv = adwords.service(:CampaignService, API_VERSION) We’ve downloaded the private key file and the path is set correctly and we’ve tried both options. This is the error we get: /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/credential_handler.rb:65:in `set_credential': undefined method `[]=' for nil:NilClass (NoMethodError) from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:103:in `block in authorize' from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in `each_pair' from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in `authorize' Let me know if you need further information, i would like to find out the possible reason for that error or if there is any error in our configuration or code? Thank you in advance for your time, Georgi -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Adword Token set to Pending for around 1 year
Hi Anash, Not sure if you can help me again, but David hasnt replied to my email sent a few days ago, can you nudge him please. Andy On Wednesday, February 13, 2013 6:22:21 AM UTC, Anash P. Oommen (AdWords API Team) wrote: Hi Andy, Sounds good. Please provide David with the necessary information. Cheers, Anash On Tuesday, February 12, 2013 4:41:43 PM UTC+5:30, s...@mediabandit.co.ukwrote: Hi Anash, Actually the last correspondence i had from the API team was, sorry this has taken a while, we're working through this and we will get back to you soon. Which was around 12 months ago. My current token is still set to pending and i have also contacted them again. This is not helping me. I will contact David Torres who has said he will help me with this. Andy On Tuesday, February 12, 2013 5:21:10 AM UTC, Anash P. Oommen (AdWords API Team) wrote: Hi Andy, Most likely the token would have been rejected for lack of response from your side. I would recommend checking your API MCC to see the current status of your token, as well as check if the adwordsapi tokens team sent you any mail to your developer contact email. If your token is still pending, drop another mail to adwordsa...@google.com with your customer id and ask them to provide a status update about your token application. Cheers, Anash P. Oommen, AdWords API Advisor. On Monday, February 11, 2013 9:23:20 PM UTC+5:30, an...@mediabandit.co.uk wrote: Hi Api, I'm not sure what to do here, i applied for an adwords api token in February 2012. I am still waiting to get approval and i'm not sure what to do. I have contacted adwordsapi-token email address but havent heard anything back. This looks to me like me application slipped through the cracks? Please help me work out what i need to do to prioritise this. Thanks Andy -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Get TextAds and DynamicSearchAd via adGroupAdService
Hi Maciej, I'll ask our tech writer to fix the documentation. But what I meant was that AdWords API also has a beta feature that is unrelated to AdWords' beta feature. DynamicSearchAd is marked as a beta feature in AdWords API. You need to get in touch with your account manager and ask for AdWords API Beta access to make use of this feature. Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, February 6, 2013 3:36:15 PM UTC+5:30, Maciej Krajowski wrote: Thank you Anash for your answer. Unfortunately, I believe this is not the issue - as I understood, DSA is no longer in beta. Here is what I see after clicking sign up: Dynamic Search Ads (Beta) Interest List Thanks for your interest in Dynamic Search Ads, an efficient new way to target relevant searches with ads generated directly from your website. After a year of refinements and successful beta testing, Dynamic Search Ads were made available to everyone using AdWords in October 2012. Cheers, Maciej W dniu środa, 6 lutego 2013 05:50:10 UTC+1 użytkownik Anash P. Oommen (AdWords API Team) napisał: Hi Maciej, DynamicSearchAd is a beta feature, so your code will work only if you are whitelisted for the same. See https://developers.google.com/adwords/api/docs/reference/latest/AdGroupAdService.DynamicSearchAdfor details. Cheers, Anash P. Oommen, AdWords API Advisor On Tuesday, February 5, 2013 4:51:29 PM UTC+5:30, Maciej Krajowski wrote: Hello, In the example here https://code.google.com/p/google-api-adwords-php/source/browse/examples/v201209/BasicOperations/GetTextAds.phpit is shown how to get TextAds via API [ php ]. I thought that adding DynamicSearchAds will be as trivial as modifying 54th line: $selector-predicates[] = new Predicate('AdType', 'IN', array('TEXT_AD', 'DYNAMIC_SEARCH_AD')); however this does not work. I have a campaign that have only negative keywords and DSA. Negative keywords are being downloaded without any issue, however I get 0 ads. Any idea why? Cheers -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Multiple Test Accounts under the same MCC?
We are developing an application targeted at Agencies and I wanted to check if we can have multiple test accounts under the same MCC? What we want is to show all the clients managed by an agency and also individual campaigns operated for each of those clients. So can the developer token be approved at the MCC level rather than individual test account level? Thanks, Dino -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Test Account Approval?
Hi there, I applied for an API Test account and MCC on 2/1/13, and was told to confirm that we only need a test account at the moment a few days ago. Then no more contacts regarding this. I remember it said we should hear back within 10 days but now it has been longer than that. Wondering if there is any update on this? Thanks, -Joshua -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Getting list of customers managed by an MCC
I have a developer token and a Test Account within our MCC. 1) Can we have more than 1 test account per mcc? 2) Can we designate an entire MCC as sandbox? If so how? 3) Which service do we use to get a list of all the clients managed by an MCC? Thanks, Dino -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Multiple Test Accounts under the same MCC?
Is is possible to have multiple Test Accounts under the same MCC? We want to be able to list all the accounts and their individual campaigns managed by an MCC Thanks, Dino -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Is it possible to retrieve CustomerID by providing Username, Password DeveloperToken using the API?
Hello Guys, Is it possible to retrieve *CustomerID *by providing Username, Password DeveloperToken using the API? If Yes, which Web service to use? Please let me know, if you require any more details. Thanks Regards Vikram Takkar http://vikramtakkar.blogspot.com -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Adword Token set to Pending for around 1 year
Hi Andy, You could mail me the details instead. You could reach me at anash.p.oom...@google.com. Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, February 14, 2013 5:06:05 PM UTC+5:30, an...@mediabandit.co.uk wrote: Hi Anash, Not sure if you can help me again, but David hasnt replied to my email sent a few days ago, can you nudge him please. Andy On Wednesday, February 13, 2013 6:22:21 AM UTC, Anash P. Oommen (AdWords API Team) wrote: Hi Andy, Sounds good. Please provide David with the necessary information. Cheers, Anash On Tuesday, February 12, 2013 4:41:43 PM UTC+5:30, s...@mediabandit.co.ukwrote: Hi Anash, Actually the last correspondence i had from the API team was, sorry this has taken a while, we're working through this and we will get back to you soon. Which was around 12 months ago. My current token is still set to pending and i have also contacted them again. This is not helping me. I will contact David Torres who has said he will help me with this. Andy On Tuesday, February 12, 2013 5:21:10 AM UTC, Anash P. Oommen (AdWords API Team) wrote: Hi Andy, Most likely the token would have been rejected for lack of response from your side. I would recommend checking your API MCC to see the current status of your token, as well as check if the adwordsapi tokens team sent you any mail to your developer contact email. If your token is still pending, drop another mail to adwordsa...@google.com with your customer id and ask them to provide a status update about your token application. Cheers, Anash P. Oommen, AdWords API Advisor. On Monday, February 11, 2013 9:23:20 PM UTC+5:30, an...@mediabandit.co.uk wrote: Hi Api, I'm not sure what to do here, i applied for an adwords api token in February 2012. I am still waiting to get approval and i'm not sure what to do. I have contacted adwordsapi-token email address but havent heard anything back. This looks to me like me application slipped through the cracks? Please help me work out what i need to do to prioritise this. Thanks Andy -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Java library not refreshing Access Token?
Hi Oliver, I'm not sure if every client library refreshes the OAuth2 tokne on expiration. I suggest opening an issue in the library's issue tracker to clarify this with the library maintainer. Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, February 14, 2013 2:49:00 PM UTC+5:30, Oliver wrote: We're using the Java library (v201209) and noticed that our Access token expires every 1 hour ending up with OAUTH_TOKEN_INVALID exception. We were under the impression that the Java library takes care of renewing the Access token automatically, but this doesn't seem to be happening. Any ideas why? Oliver -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: New Adwords version
Hi Patrick, Yes, AdWords API has some changes to expose the new features announced by AdWords. Please refer to http://googleadsdeveloper.blogspot.in/2013/02/new-adwords-api-features-supporting.html for details. Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, February 14, 2013 12:56:42 PM UTC+5:30, PatrickvKleef wrote: Hi Adwords Team! Adwords has annouced some big changes on how Adwords will work, does this has influence on the API? If this has influence on the API when will the new version of the API be released? Kind regards, Patrick -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Test Account Approval?
Hi Joshua, Please drop a mail to adwordsapi-tok...@google.com for status updates on your test account. Cheers, Anash P. Oommen, AdWords API Advisor On Wednesday, February 13, 2013 11:48:22 PM UTC+5:30, Joshua wrote: Hi there, I applied for an API Test account and MCC on 2/1/13, and was told to confirm that we only need a test account at the moment a few days ago. Then no more contacts regarding this. I remember it said we should hear back within 10 days but now it has been longer than that. Wondering if there is any update on this? Thanks, -Joshua -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Oauth2 issue - referring to Daniel Klimkin
Answred in: https://groups.google.com/d/msg/adwords-api/FFHpS4KpYvQ/WYOJQRbJMMoJ -Danial. On Wednesday, February 13, 2013 7:01:06 PM UTC+4, hagay wrote: Hi, I am writing server side application that using adwords_api, witch mean i should use OAUTH2_JWT, right? To create the client id i used the api console with the option of 'service_account'. to the config file i am using: :authentication = { :method: OAUTH2_JWT :oauth2_issuer: the email address i got within the creation of the this client id :oauth2_secret: *notasecret* #Is it correct? :oauth2_keyfile: '/path/to/key.p12' # the file downloaded in the end of the client id creation :developer_token: 'dev_token', :client_customer_id: '123-456-7890' # the client_customer_id i used with the adwords api } i am getting the error: Signet::AuthorizationError: Authorization failed. Server message: { error : invalid_grant } what am i doing 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Oauth2 jwt ruby issue
Hi Daniel, Ok. In that case i guess I should use the the Oauth2 . The issue is that I need to access the adsowrds api (using oauth2) *without user interaction*. Do i still need the 'Service account' or 'Installed Application' ? If I need to use the 'Installed Application' how can i fetch the verification_code every time i restart my server ? Thanks for your help. hagay. On Thursday, February 14, 2013 12:40:29 PM UTC+2, Danial Klimkin wrote: Hello hagay, You should only use OAUTH2_JWT if you are administering your own domain. If you access 3rd party accounts, you should use plain OAUTH2. In case you do manage the domain, you need to grant the application to impersonate users for AdWords, please check with your domain administrator on have to do this. See also: https://developers.google.com/accounts/docs/OAuth2ServiceAccount -Danial, AdWords API Team. On Wednesday, February 13, 2013 6:55:14 PM UTC+4, hagay wrote: Hi, I am writing server side application that using adwords_api, witch mean i should use OAUTH2_JWT, right? To create the client id i used the api console with the option of 'service_account'. to the config file i am using: :authentication = { :method: OAUTH2_JWT :oauth2_issuer: the email address i got within the creation of the this client id :oauth2_secret: *notasecret* #Is it correct? :oauth2_keyfile: '/path/to/key.p12' # this filed downloaded :developer_token: 'dev_token', :client_customer_id: '123-456-7890'# the client_customer_id i used with the adwords api } i am getting the error: Signet::AuthorizationError: Authorization failed. Server message: { error : invalid_grant } what am i doing wrong? On Tuesday, January 15, 2013 2:04:53 PM UTC+2, Danial Klimkin wrote: Hello Georgi, If you initialize the library with a hash, you need to make sure to provide all required credentials. Make sure to include all required fields like this: adwords = AdwordsApi::Api.new({ :service = { :environment = :PRODUCTION }, :library = { :log_level = DEBUG }, :authentication = { :method: OAUTH2_JWT :oauth2_issuer: '12345...@developer.gserviceaccount.com' :oauth2_secret: 'key_secret' :oauth2_keyfile: '/path/to/key.p12' :developer_token: 'dev_token', :client_customer_id: '123-456-7890' } }) -Danial, AdWords API Team. On Monday, January 14, 2013 4:05:36 PM UTC+4, teamma...@gmail.com wrote: Hello everyone, We’ve recently started to use adwords api and now we are trying to automate few tasks. We’re using OAuth2 authentication and ruby. We’ve followed the example here https://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2_jwt.rbhttps://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2.rbto authenticate, the only difference is how we initialize the adwords api: adwords = AdwordsApi::Api.new({ :library = { :log_level = DEBUG }}) # option 1 and option 2 not modified from the example campaign_srv = adwords.service(:CampaignService, API_VERSION) We’ve downloaded the private key file and the path is set correctly and we’ve tried both options. This is the error we get: /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/credential_handler.rb:65:in `set_credential': undefined method `[]=' for nil:NilClass (NoMethodError) from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:103:in `block in authorize' from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in `each_pair' from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in `authorize' Let me know if you need further information, i would like to find out the possible reason for that error or if there is any error in our configuration or code? Thank you in advance for your time, Georgi -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Error creating a copy of an existing Template Ad
Hi Kevin I've attached a file containing all the request/response streams for the operation. Appreciate your help. pete On Wednesday, 13 February 2013 22:00:37 UTC, Kevin Winter (AdWords API Team) wrote: Hi Pete, Could you show us what your selector looks like for your get request? The AdWords API in general supports the concept of partial updates. This means that you only need to send the absolute minimum number of fields. For example, in a template ad, you'd want to request the fields Url, DisplayUrl, TemplateId, TemplateAdUnionId, TemplateAdName (i.e. fields that aren't readonly but are selectable). When you send the request, you'll want to omit the id field and possibly change the name as well. If you could provide an example of the GET request and the mutate(ADD) (with your account details removed), it would help understand exactly the path your code is taking and help troubleshoot. - Kevin Winter AdWords API Team On Wednesday, February 6, 2013 8:08:16 AM UTC-5, pete wrote: I'm trying to create a TemplateAd via the API by using the AdGroupAd service to get an existing template ad into a temporary object, remove the id field value and then set the url field to include some tracking attributes; I then use the same service to to ADD the object. This methodology works well in the majority of cases but I'm getting some errors caused by MISSING_REQUIRED_TEMPLATE_FIELDS. Specifically the product1MCImage field for templateId 372 (which is an Ad Creator Image Ad) and the poster field for templateId 247 (Expandable Video) The request id of the get is 0004d50d810dd4880ae57643798e Can you tell me why the get does not return ALL the template Fields I need to create a copy? I can provide the SOAP request/response if required. Thanks pete -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. Selector.xml Description: XML document
Updating/adding budgets using mutateJobService
Hi, is the adwords team likely to add budgets to the mutateJobService. I see from the docs that budgets aren't listed as valid operations, but the result includes budget operations so I thought maybe the docs were wrong, but calling it with a budget results in a Cannot resolve 'ns2:BudgetOperation' to a type definition for element 'operations' error. Would be nice to do budgets as well.. 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Concurrent limit for MutateJobService
I noted that the docs for the deprecated BulkMutateJobService state that at most 10 concurrent requests can be uploaded, but the docs for MutateJobService don't give any limit. Is there a limit and is the behaviour on reaching this limit the same? Thanks John -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Fault occurred while processing when trying to add campaigns
Hi Timo, I've forwarded your issue to the team. I will have you a response soon. Best, - David On Monday, February 11, 2013 8:02:47 AM UTC-5, Timo Aarnio wrote: Hi, I'm sorry for the delay from my side as well. Yes, the issue is still there, here's the latest error call: [Feb 11 2013 15:00:01.00 - ERROR] email=testaccount effectiveUser=123456789 service=BudgetService method=mutate operators={ADD: 1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 operations=0 units=0 server=adwords.google.com isFault=true faultMessage=Fault occurred while processing. Thanks again for the help, Timo maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords API Team) kirjoitti: Hi, Sorry for our delay responding you here, are you still experiencing this issue? if yes, can you give me a fresh requestId of the issue, I'd be glad to investigate. To answer your questions: You don't seem to be doing anything wrong, in fact this type of error is likely an issue we need look at in our side. You should be using the test account credentials and not the MCC, as I believe you are doing correctly. Best, - David Torres - AdWords API Team On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote: Hi I'm currently trying to add campaigns for the test account. But when I run the script, it throws Fault occurred while processing. error. The error seems to happen when the script tries to mutate budget: [Jan 25 2013 18:03:48.00 - ERROR] email=testemail effectiveUser=123456789 service=BudgetService method=mutate operators={ADD: 1} responseTime=156 requestId=0004d41f126d8a300ae53fcd6bc0 operations=0 units=0 server= adwords.google.com isFault=true faultMessage=Fault occurred while processing. When digging into the soap_xml.log it seems to throw a 500 Internal Server Error [Jan 25 2013 18:26:21.00 - ERROR] POST /api/adwords/cm/v201209/BudgetService HTTP/1.1 Host: adwords.google.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.3.15, gzip Accept-Encoding: gzip, deflate Content-Encoding: gzip Content-Type: text/xml; charset=utf-8 SOAPAction: Content-Length: 623 ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV= http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1= https://adwords.google.com/api/adwords/cm/v201209; SOAP-ENV:Header ns1:RequestHeader ns1:authToken*/ns1:authToken ns1:clientCustomerId123456789/ns1:clientCustomerId ns1:developerToken1563418token/ns1:developerToken ns1:userAgentZoinedTool (AwApi/3.1.1, php/5.3.15)/ns1:userAgent /ns1:RequestHeader /SOAP-ENV:Header SOAP-ENV:Body ns1:mutate ns1:operations ns1:operatorADD/ns1:operator ns1:operand ns1:nameTestCampaign #5102b22d772b2/ns1:name ns1:periodDAILY/ns1:period ns1:amount ns1:microAmount5000/ns1:microAmount /ns1:amount ns1:deliveryMethodSTANDARD/ns1:deliveryMethod /ns1:operand /ns1:operations /ns1:mutate /SOAP-ENV:Body /SOAP-ENV:Envelope HTTP/1.1 500 Internal Server Error Content-Type: text/xml; charset=UTF-8 Content-Encoding: gzip Date: Fri, 25 Jan 2013 16:26:18 GMT Expires: Fri, 25 Jan 2013 16:26:18 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Content-Length: 312 Server: GSE ?xml version=1.0? soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns= https://adwords.google.com/api/adwords/cm/v201209; requestId0004d41f6311eb200ae544246b17/requestId serviceNameBudgetService/serviceName methodNamemutate/methodName operations0/operations responseTime108/responseTime units0/units /ResponseHeader /soap:Header soap:Body soap:Fault faultcodesoap:Server/faultcode faultstringFault occurred while processing./faultstring /soap:Fault /soap:Body /soap:Envelope The code is practically the same as in the example, I only modified it so it actually runs: ?php require_once ('adwords_api/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php'); function AddCampaign($user) { // Get the BudgetService, which loads the required classes. $budgetService = $user-GetService('BudgetService', 'v201209'); // Create the shared budget (required). $budget = new Budget(); $budget-name = 'TestCampaign #' . uniqid(); $budget-period = 'DAILY'; $budget-amount = new Money(5000); $budget-deliveryMethod = 'STANDARD'; $operations = array(); // Create operation. $operation = new BudgetOperation(); $operation-operand = $budget; $operation-operator = 'ADD'; $operations[] = $operation; // Make the mutate request. $result = $budgetService-mutate($operations); $budget = $result-value[0];
Fwd:
http://lasvegassuites.org/88tcxk.php?s=lf -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Querying multiple date ranges
Is there a way to simultaneously query multiple date ranges? I would like to do performance comparisons month-against month, i.e., Jan 2013 against Jan 2012, Dec 2012 against Dec 2011, etc. Do I need to do a separate query for each month I want to analyze, or is there a way to get performance summaries for each month of interest out of a single query? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: DISPLAY_KEYWORD_PERFORMANCE_REPORT not working
Thanks Paul! I really look forward to this report to become available. Regards, Martin On Wednesday, January 9, 2013 1:53:36 PM UTC-3, Paul Matthews wrote: Hi Martin, You are right in pointing out that it is a beta feature, this means that it's a feature only enabled for users on the beta program. Regards, - Paul, 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Oauth2 jwt ruby issue
Hi Danial, I'm having the same problem here. I'm using OAuth2_Jwt with this config: :oauth2_issuer: xx...@developer.gserviceaccount.com' :oauth2_secret: 'notasecret' :oauth2_keyfile: '/path/to/privatekey.p12' :oauth2_prn: 'email i use to log in to google adwords account' # Other parameters. :developer_token: 'xx' :client_customer_id: '' and I get this message: Signet::AuthorizationError: Authorization failed. Server message: { error : access_denied } I manage my own domain but I cannot find how to grant the application to impersonate users for AdWords without using the Business Edition. Could you please tell me how could I do that? On Thursday, February 14, 2013 10:26:32 AM UTC-3, hagay wrote: Hi Daniel, Ok. In that case i guess I should use the the Oauth2 . The issue is that I need to access the adsowrds api (using oauth2) *without user interaction*. Do i still need the 'Service account' or 'Installed Application' ? If I need to use the 'Installed Application' how can i fetch the verification_code every time i restart my server ? Thanks for your help. hagay. On Thursday, February 14, 2013 12:40:29 PM UTC+2, Danial Klimkin wrote: Hello hagay, You should only use OAUTH2_JWT if you are administering your own domain. If you access 3rd party accounts, you should use plain OAUTH2. In case you do manage the domain, you need to grant the application to impersonate users for AdWords, please check with your domain administrator on have to do this. See also: https://developers.google.com/accounts/docs/OAuth2ServiceAccount -Danial, AdWords API Team. On Wednesday, February 13, 2013 6:55:14 PM UTC+4, hagay wrote: Hi, I am writing server side application that using adwords_api, witch mean i should use OAUTH2_JWT, right? To create the client id i used the api console with the option of 'service_account'. to the config file i am using: :authentication = { :method: OAUTH2_JWT :oauth2_issuer: the email address i got within the creation of the this client id :oauth2_secret: *notasecret* #Is it correct? :oauth2_keyfile: '/path/to/key.p12' # this filed downloaded :developer_token: 'dev_token', :client_customer_id: '123-456-7890'# the client_customer_id i used with the adwords api } i am getting the error: Signet::AuthorizationError: Authorization failed. Server message: { error : invalid_grant } what am i doing wrong? On Tuesday, January 15, 2013 2:04:53 PM UTC+2, Danial Klimkin wrote: Hello Georgi, If you initialize the library with a hash, you need to make sure to provide all required credentials. Make sure to include all required fields like this: adwords = AdwordsApi::Api.new({ :service = { :environment = :PRODUCTION }, :library = { :log_level = DEBUG }, :authentication = { :method: OAUTH2_JWT :oauth2_issuer: '12345...@developer.gserviceaccount.com' :oauth2_secret: 'key_secret' :oauth2_keyfile: '/path/to/key.p12' :developer_token: 'dev_token', :client_customer_id: '123-456-7890' } }) -Danial, AdWords API Team. On Monday, January 14, 2013 4:05:36 PM UTC+4, teamma...@gmail.comwrote: Hello everyone, We’ve recently started to use adwords api and now we are trying to automate few tasks. We’re using OAuth2 authentication and ruby. We’ve followed the example here https://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2_jwt.rbhttps://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2.rbto authenticate, the only difference is how we initialize the adwords api: adwords = AdwordsApi::Api.new({ :library = { :log_level = DEBUG }}) # option 1 and option 2 not modified from the example campaign_srv = adwords.service(:CampaignService, API_VERSION) We’ve downloaded the private key file and the path is set correctly and we’ve tried both options. This is the error we get: /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/credential_handler.rb:65:in `set_credential': undefined method `[]=' for nil:NilClass (NoMethodError) from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:103:in `block in authorize' from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in `each_pair' from /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in `authorize' Let me know if you need further information, i would like to find out the possible reason for that error or if there is any error in our configuration or code? Thank you in advance for your time, Georgi -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:
QuotaCheckError.INCOMPLETE_SIGNUP
I get this when calling the APIs. I've already entered in my billing details. Can somebody suggest the next step? 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Is there a way to get the serving status of a campaign using Reports?
In an ideal world I could filter reportshttps://developers.google.com/adwords/api/docs/appendix/reports(and in particular Ad Performance Report) using as a predicate ServingStatushttps://developers.google.com/adwords/api/docs/reference/latest/CampaignService.ServingStatus instead of just CampaignStatus because I don't care about campaigns that are expired (but reported as active in CampaignStatus). Is this aspect of the ideal world implemented in adwords api, is there an even better world or should I compromise to something else? Cheers, Dimitris -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
AuthorizationError.USER_PERMISSION_DENIED error with v201209
Hi, I have a python application that is using latest APIs version with offline OAuth2. While developing I was using MCC with test client account without any issues (developerToken is approved). During test with live account this error popped up. Initially I assumed that I really do not have API access for that client account, after double checking I went back to examples, tried to use oauth2 http://code.google.com/p/google-api-ads-python/source/browse/trunk/examples/adspygoogle/adwords/v201209/misc/use_oauth2.pyexample without campaign creation but it is the same error anyway. Any ideas? Cheers, 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Concurrent limit for MutateJobService
Hi John, I don't think there is such a limit for MJS. Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, February 14, 2013 7:54:30 PM UTC+5:30, John Lister wrote: I noted that the docs for the deprecated BulkMutateJobService state that at most 10 concurrent requests can be uploaded, but the docs for MutateJobService don't give any limit. Is there a limit and is the behaviour on reaching this limit the same? Thanks John -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Error in TargetingIdeaService.
Hi Kapil, Could you please post a sanitized soap request and response xml? Repeated UNEXPECTED_INTERNAL_API_ERROR is usually an issue at our end. Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, February 13, 2013 7:29:26 PM UTC+5:30, Kapil wrote: Hello, I am using TargetingIdeaSelector to get the related keywords. I am referring this code:- https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201209/optimization/GetKeywordIdeas.java Now, I need to make a change. I also want to add location, and language in this code. So... Location unitedStates = new Location(); unitedStates.setId(2840L); LocationSearchParameter location = new LocationSearchParameter(); location.setLocations(new Location[] { unitedStates }); Language english = new Language(); english.setId(1000L); LanguageSearchParameter language = new LanguageSearchParameter(); language.setLanguages(new Language[] { english }); RelatedToQuerySearchParameter relatedToQuerySearchParameter = new RelatedToQuerySearchParameter(); relatedToQuerySearchParameter.setQueries(new String[] { keywordText }); *** after this I'm adding all of them in the selector like this:- * selector.setSearchParameters(new SearchParameter[] {relatedToQuerySearchParameter, location, language});* * but I am getting an error:- AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro] faultActor: faultNode: faultDetail: {https://adwords.google.com/api/adwords/o/v201209}ApiExceptionFault:ns2:message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/ns2:messagens2:ApplicationException.TypeApiException/ns2:ApplicationException.Typens2:errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=ns2:InternalApiErrorns2:fieldPath/ns2:trigger/ns2:errorStringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR/ns2:errorStringns2:ApiError.TypeInternalApiError/ns2:ApiError.Typens2:reasonUNEXPECTED_INTERNAL_API_ERROR/ns2:reason/ns2:errors *I even tried this:- * selector.setSearchParameters(1, relatedToQuerySearchParameter); selector.setSearchParameters(2, location); selector.setSearchParameters(3, language); selector.setSearchParameters(4, category); But it is also not working. Can someone please help me with this issue. Thanks, Kapil ** -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: SSL connections hanging
Hi Chris, ssl hanging/timeouts usually have to do with the local network or ISP issues. I'm not aware of any SSL related issues being reported internally or from other users. Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, February 14, 2013 1:08:33 AM UTC+5:30, Chris Palmer wrote: Since Sunday, we are having a problem where various attempts to make or read SSL connections to google services are getting hung up. I would say about 1 in 20 attempts to connect and read data is getting hung. Using the 15.5.0 python client library, with python 2.7.3 (and 2.7.2+) This issue are happening all over the place in the adwords library: AuthToken.__Login() urllib.urlopen() calls to open wsdl and xsd urls reading data during ReportDownloader.DownloadReport calls and the hangs can occur both during the do_handshake and reads on the underlying ssl socket. If left alone the hangs have lasted over an hour, at which point we have just killed the process. Additionally we are having similar issues where trying to make ssl connections to google outside of the adwords library (scraping a couple of web pages). Which makes me think that there is something larger going on with the network. Are there any know ssl connection issues with Google right now? We didn't originally have a timeout limit set at the socket layer, so we are able to work around the issue by doing that. But that then gives us another problem of trying to deal with the multitude of ways the adwords library handles and propogates (or doesn't) the timeout exceptions. It's proving very difficult to gracefully handle the timeouts and simply retry the connection (which generally works right away). Thanks Chris -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is it possible to retrieve CustomerID by providing Username, Password DeveloperToken using the API?
Hi Vikram, If you have MCC credentials, then you can use ManagedCustomerService.get to get the details you are looking for. See http://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201209/accountmanagement/GetAccountHierarchy.java for a code example, https://developers.google.com/adwords/api/docs/reference/latest/ManagedCustomerService for service documentation. Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, February 13, 2013 5:08:31 PM UTC+5:30, Vikram Takkar wrote: Hello Guys, Is it possible to retrieve *CustomerID *by providing Username, Password DeveloperToken using the API? If Yes, which Web service to use? Please let me know, if you require any more details. Thanks Regards Vikram Takkar http://vikramtakkar.blogspot.com -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Multiple Test Accounts under the same MCC?
Hi Dino, Yes, you can apply for multiple test accounts under the same MCC. Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, February 13, 2013 5:01:03 PM UTC+5:30, DMAnalytics wrote: Is is possible to have multiple Test Accounts under the same MCC? We want to be able to list all the accounts and their individual campaigns managed by an MCC Thanks, Dino -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Multiple Test Accounts under the same MCC?
Hi Dino, Yes, you can have multiple test accounts under your MCC, but retrieving the account hierarchy is not possible through test accounts since MCC accounts cannot be marked as test accounts. You either need an approved token for that, or mock out the call to ManagedCustomerService.get if your token is still pending. Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, February 13, 2013 4:47:59 PM UTC+5:30, DMAnalytics wrote: We are developing an application targeted at Agencies and I wanted to check if we can have multiple test accounts under the same MCC? What we want is to show all the clients managed by an agency and also individual campaigns operated for each of those clients. So can the developer token be approved at the MCC level rather than individual test account level? Thanks, Dino -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Updating/adding budgets using mutateJobService
Hi John, Thanks for letting us know, I'll forward your request to the appropriate team. Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, February 14, 2013 7:52:43 PM UTC+5:30, John Lister wrote: Hi, is the adwords team likely to add budgets to the mutateJobService. I see from the docs that budgets aren't listed as valid operations, but the result includes budget operations so I thought maybe the docs were wrong, but calling it with a budget results in a Cannot resolve 'ns2:BudgetOperation' to a type definition for element 'operations' error. Would be nice to do budgets as well.. 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.