Re: Downloading attribute / structural data
Thanks Josh. Sorry for the late reply. Anurag On Mon, Jul 28, 2014 at 8:50 PM, Josh Radcliff (AdWords API Team) adwordsapiadvisor+j...@google.com wrote: Hi, To get attribute information you can either use the object-specific services such as CampaignService https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService , AdGroupService https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupService, etc., or use reports. Reporting is often preferable for the reasons outlined in our Structure Reports guide https://developers.google.com/adwords/api/docs/guides/structure-reports. Fields labeled as *Attribute* always show the *current* value of the field -- please see the descriptions of the columns after the list of reports on our Report Types page https://developers.google.com/adwords/api/docs/appendix/reports. To determine when attributes of an account have changed, you can use the CustomerSyncService https://developers.google.com/adwords/api/docs/reference/v201406/CustomerSyncService. This will give you the IDs of changed objects for a given time frame, but not the changed values. If you need the history of values on your objects, you will have to utilize the CustomerSyncService https://developers.google.com/adwords/api/docs/reference/v201406/CustomerSyncService in conjunction with the other services and store the history of values in a database on your side. Cheers, Josh, AdWords API Team On Monday, July 28, 2014 1:25:54 AM UTC-4, Anurag Laddha wrote: Greetings, Using Performance reports as listed in https://developers.google. com/adwords/api/docs/appendix/reports the only way to download attribute data for Adwords entites (Account, Campaign, Adgroup etc)? In other words to get attribute/structural data is specifying the performance reports of your choice (say CAMPAIGN_PERFORMANCE_REPORT) and fields of behavior 'Attribute' (say ExternalCustomerId,CampaignId,CampaignName,Amount,Status) the right way to go about it? When we download only attribute values through performance reports, are the attribute values always what they are at the time of download or we can request for attribute values back in time? How can we know through API the time at which the attribute value (eg Amount, Status) changed for some entity (eg Campaign)? Thanks! Anurag -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 a topic in the Google Groups AdWords API Forum group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/ERRkB9pV62A/unsubscribe. To unsubscribe from this group and all its topics, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
OAUTH2 setup | localhost / production
Hi All, To minimize the hits on Adwords we create an OAuth2 API so one service is responsible for fetching / refreshing the tokens and all other apps get the tokens from this single app. Lately, we have been seeing this issue that when we first try and authorize a new account we do not get a redirect URL back (for the consent popup) on the production server, however when I do the same thing on localhost it works as expected. Is this something to do with OAUTH2 setup, I can confirm that both our URLs (localhost and production) are configured for OAUTH access so I cannot see why this is happening. Any help will be appreciated on this. Thanks, Rocky -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Get developer token
Hi, I am trying to get a developer token so I can use the Adwords API. I do not see the AdWords API Center prompt as described in your documentation. See attached for a screen shot. Thanks, Scott -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Getting a list of correct Google Product Bidding Categories
Hi We are working on a product for *Google Shopping Campaign Partition Creation*. As a requirement for this solution, we tried downloading the Google *Product Bidding Categories https://developers.google.com/adwords/api/docs/reference/v201402/ConstantDataService.ProductBiddingCategory* using the method *ConstantDataService.getProductBiddingCategoryData(selector_US)*, However after downloading the data, we noticed that we do not have all the product categories that are in our Customer base, without the full category list with correct *GoogleCategoryIDs*, we cannot create product Partitions for all our Customers. When we downloaded Categories, we always end up getting the same amount of categories which is about *5,761* records for any client, no matter which Client Account ID is used. A good example of a missing Category is *'Vehicles Parts'*, We cannot find this particular category out of the downloaded category list, which is a kind of major issue for us to proceed with this solution. Could you please let us know how to overcome this problem, are we doing something wrong using the method I mentioned or is there any other way to download the same data correctly? Please advice AS SOON AS Possible. Thank you. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Actual words searched
I am using adwords api to generate reports on my clients accounts, everything works fine. But what i am trying to figure out is, is there a way to get the actual search term that had a click, like lets say right now i have a keyword which is +house +painter and all my clicks in the report only show that, but i want to see the actual term that generated a click like lets say, professional house painter, how can i get that word in my report? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Not authorized to request the scopes
I am receiving exactly the same response as Jeff Knight reported. The only difference is that I am making the initial POST from a native C++ app. If I request a scope of https://www.google.com/calendar/feeds/;, the response includes a device code, user code, etc.. as expected. To be perfectly clear, I am attempting to acquire an access/refresh token for the Adwords API using the OAuth for Devices flow. What might cause this response? As a side-note, using a client library is not an option in my use case. Thank you for your time, Jonathan Jones On Friday, May 30, 2014 8:24:52 AM UTC-6, Michael Cloonan (AdWords API Team) wrote: Hello Jeff, Have you tried using one of our automated tools to fetch the refresh token? They are linked in the middle article you mentioned, after you pick a client library language. Please give one of these a try. If that still fails, I can take a more detailed look. Regards, Mike, AdWords API Team On Thursday, May 29, 2014 4:37:34 PM UTC-4, Jeff Knight wrote: I have followed the following guides, but am still having issues. https://developers.google.com/accounts/docs/OAuth2ForDevices https://developers.google.com/adwords/api/docs/guides/authentication#getting_started_with_oauth_20_and_the_adwords_api https://support.google.com/a/answer/162106?hl=en Whenever I make the curl call to get the refresh token, I keep getting the following error curl -d client_id=.apps.googleusercontent.comscope= https://adwords.google.com/api/adwords/; https://accounts.google.com/o/oauth2/device/code { error : invalid_scope, error_description : Not authorized to request the scopes: [ https://adwords.google.com/api/adwords/];, error_uri : http://code.google.com/apis/accounts/docs/OAuth2.html; } I have enabled the client id and scope access following the Third Party Data Access (Oauth) guide. Any help would be greatly appreciated Thanks Jeff -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: OAUTH2 setup | localhost / production
Hello Rocky, Could you please describe the issue in more details? What are exact steps for both prod and test setups? Do you use web application or offline OAuth2 client? -Danial, AdWords API Team. On Monday, August 4, 2014 1:04:37 PM UTC+4, Rocky Jaiswal wrote: Hi All, To minimize the hits on Adwords we create an OAuth2 API so one service is responsible for fetching / refreshing the tokens and all other apps get the tokens from this single app. Lately, we have been seeing this issue that when we first try and authorize a new account we do not get a redirect URL back (for the consent popup) on the production server, however when I do the same thing on localhost it works as expected. Is this something to do with OAUTH2 setup, I can confirm that both our URLs (localhost and production) are configured for OAUTH access so I cannot see why this is happening. Any help will be appreciated on this. Thanks, Rocky -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Discrepancy between CLICK_PERFORMANCE_REPORT and other performance reports
Hello Mike, I suspect the reason is due to duplicate / invalid clicks. See InvalidClicks field of the campaign performance report. Click performance report still returns all the GCLIDs as we can't tell which one actually stayed on your site. Please use campaign / ad group performance report as source of total click numbers. -Danial, AdWords API team. On Wednesday, July 30, 2014 8:48:54 PM UTC+4, Mike Deck wrote: I've discovered an issue recently where some of the numbers in my system aren't matching up with what is reported by the AdWords UI. I've traced it back to the fact that if I run a CLICK_PERFORMANCE_REPORT for a given day without any filtering there are more unique GCLIDs reported than total clicks across my account reported in any of the other performance reports. Does anyone know why this is or how I can account for the discrepancy? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Get developer token
Hello Scott, Please see: https://groups.google.com/forum/#!topic/adwords-api/rp0HFwu-E0M AdWords API Center is available in the MCC accounts only. -Danial, AdWords API Team. On Wednesday, July 30, 2014 7:12:25 PM UTC+4, Scott Kay wrote: Hi, I am trying to get a developer token so I can use the Adwords API. I do not see the AdWords API Center prompt as described in your documentation. See attached for a screen shot. Thanks, Scott -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Actual words searched
Hello Brad, Please see: https://support.google.com/adwords/answer/2684537 and the Search Query Performance Report: https://developers.google.com/adwords/api/docs/appendix/reports#search-query -Danial, AdWords API Team. On Saturday, August 2, 2014 1:20:59 AM UTC+4, Brad Haizlett wrote: I am using adwords api to generate reports on my clients accounts, everything works fine. But what i am trying to figure out is, is there a way to get the actual search term that had a click, like lets say right now i have a keyword which is +house +painter and all my clicks in the report only show that, but i want to see the actual term that generated a click like lets say, professional house painter, how can i get that word in my report? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Not authorized to request the scopes
Hello Jonathan, Please try either offline or web application flows. Also, note you are requesting the deprecated scope. It should still work but we recommend to use the new one for all new applications: https://developers.google.com/adwords/api/docs/guides/authentication#scope -Danial, AdWords API Team. On Saturday, August 2, 2014 2:03:48 AM UTC+4, Jonathan Jones wrote: I am receiving exactly the same response as Jeff Knight reported. The only difference is that I am making the initial POST from a native C++ app. If I request a scope of https://www.google.com/calendar/feeds/;, the response includes a device code, user code, etc.. as expected. To be perfectly clear, I am attempting to acquire an access/refresh token for the Adwords API using the OAuth for Devices flow. What might cause this response? As a side-note, using a client library is not an option in my use case. Thank you for your time, Jonathan Jones On Friday, May 30, 2014 8:24:52 AM UTC-6, Michael Cloonan (AdWords API Team) wrote: Hello Jeff, Have you tried using one of our automated tools to fetch the refresh token? They are linked in the middle article you mentioned, after you pick a client library language. Please give one of these a try. If that still fails, I can take a more detailed look. Regards, Mike, AdWords API Team On Thursday, May 29, 2014 4:37:34 PM UTC-4, Jeff Knight wrote: I have followed the following guides, but am still having issues. https://developers.google.com/accounts/docs/OAuth2ForDevices https://developers.google.com/adwords/api/docs/guides/authentication#getting_started_with_oauth_20_and_the_adwords_api https://support.google.com/a/answer/162106?hl=en Whenever I make the curl call to get the refresh token, I keep getting the following error curl -d client_id=.apps.googleusercontent.comscope= https://adwords.google.com/api/adwords/; https://accounts.google.com/o/oauth2/device/code { error : invalid_scope, error_description : Not authorized to request the scopes: [ https://adwords.google.com/api/adwords/];, error_uri : http://code.google.com/apis/accounts/docs/OAuth2.html; } I have enabled the client id and scope access following the Third Party Data Access (Oauth) guide. Any help would be greatly appreciated Thanks Jeff -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: OAUTH2 setup | localhost / production
Thanks Danial. We have the setup for OAUTH as - Client ID for web application I have configured this on https://console.developers.google.com/ we have multiple URLs configured as Redirect URIs and JS origins for dev, testing and production. Now, lets say we want to add a new adwords account into our token server. We will first need to authorize it, and we should get a redirect URL from Google so that the user can confirm that. On production lets say https://abc.example.com I do not get a redirect URI back however if I do the same action on http://localhost:3000 it works. Both the URIs are configured on the developer console and the account has not given us any permissions already (so I should get a redirect url back not anything else). So I am lost at why this is happening. Thanks, Rocky On Monday, August 4, 2014 11:21:30 AM UTC+2, Danial Klimkin wrote: Hello Rocky, Could you please describe the issue in more details? What are exact steps for both prod and test setups? Do you use web application or offline OAuth2 client? -Danial, AdWords API Team. On Monday, August 4, 2014 1:04:37 PM UTC+4, Rocky Jaiswal wrote: Hi All, To minimize the hits on Adwords we create an OAuth2 API so one service is responsible for fetching / refreshing the tokens and all other apps get the tokens from this single app. Lately, we have been seeing this issue that when we first try and authorize a new account we do not get a redirect URL back (for the consent popup) on the production server, however when I do the same thing on localhost it works as expected. Is this something to do with OAUTH2 setup, I can confirm that both our URLs (localhost and production) are configured for OAUTH access so I cannot see why this is happening. Any help will be appreciated on this. Thanks, Rocky -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Copy a campaign
Hello everyone, I need to build some functionality into our application that creates a new Campaign furnished with AdGroups, TextAds and Keywords from a campaign that already exists - essentially *copy a campaign*. I can achieve this by using my local information to create a Campaign and furnish with AdGroups, TextAds and Keywords. However a more elegant approach, and this is my question - Can I simply use the API to copy an existing campaign and give it a new name etc? Many thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Copy a campaign
Hi, The API does not have any functionality to create a deep copy of a Campaign, so you'll need to do this via separate API calls to copy the campaign, its ad groups, its keywords, etc. Cheers, Josh, AdWords API Team On Monday, August 4, 2014 8:54:23 AM UTC-4, Alan Coleman wrote: Hello everyone, I need to build some functionality into our application that creates a new Campaign furnished with AdGroups, TextAds and Keywords from a campaign that already exists - essentially *copy a campaign*. I can achieve this by using my local information to create a Campaign and furnish with AdGroups, TextAds and Keywords. However a more elegant approach, and this is my question - Can I simply use the API to copy an existing campaign and give it a new name etc? Many thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: OAUTH2 setup | localhost / production
Hello Rocky, The authorization URL is a known value and generally generated on the client side (e.g. by our libraries). Is it the one you are missing? -Danial, AdWords API Team. On Monday, August 4, 2014 1:38:52 PM UTC+4, Rocky Jaiswal wrote: Thanks Danial. We have the setup for OAUTH as - Client ID for web application I have configured this on https://console.developers.google.com/ we have multiple URLs configured as Redirect URIs and JS origins for dev, testing and production. Now, lets say we want to add a new adwords account into our token server. We will first need to authorize it, and we should get a redirect URL from Google so that the user can confirm that. On production lets say https://abc.example.com I do not get a redirect URI back however if I do the same action on http://localhost:3000 it works. Both the URIs are configured on the developer console and the account has not given us any permissions already (so I should get a redirect url back not anything else). So I am lost at why this is happening. Thanks, Rocky On Monday, August 4, 2014 11:21:30 AM UTC+2, Danial Klimkin wrote: Hello Rocky, Could you please describe the issue in more details? What are exact steps for both prod and test setups? Do you use web application or offline OAuth2 client? -Danial, AdWords API Team. On Monday, August 4, 2014 1:04:37 PM UTC+4, Rocky Jaiswal wrote: Hi All, To minimize the hits on Adwords we create an OAuth2 API so one service is responsible for fetching / refreshing the tokens and all other apps get the tokens from this single app. Lately, we have been seeing this issue that when we first try and authorize a new account we do not get a redirect URL back (for the consent popup) on the production server, however when I do the same thing on localhost it works as expected. Is this something to do with OAUTH2 setup, I can confirm that both our URLs (localhost and production) are configured for OAUTH access so I cannot see why this is happening. Any help will be appreciated on this. Thanks, Rocky -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Location extension upgrade - my upgraded account still can create non upgraded LE
Hi Stacie, Although there is not an API at this time for Google My Business, you can use the Bulk Management tool https://support.google.com/business/answer/3217744?hl=enref_topic=4596653 to upload your locations from spreadsheets. Cheers, Josh, AdWords API Team On Friday, August 1, 2014 3:16:43 PM UTC-4, Stacie Waleyko wrote: Josh, Is there any chance we will be able to manage feed based location extensions without My Business? As there is no API support for My Business I assume the only way to add, edit, and delete locations is with the My Business UI. Thanks, Stacie On Friday, August 1, 2014 12:11:25 PM UTC-7, Josh Radcliff (AdWords API Team) wrote: Hi Perrine, If you have self upgraded, you'll still be able to create legacy location extensions, although if AdWords finds both legacy and upgraded extensions it will use the upgraded extensions when serving ads. Eventually, the legacy extensions will be removed. Please see the *I've already upgraded my account* section of the following Help Center article. https://support.google.com/adwords/answer/4388155 Cheers, Josh, AdWords API Team On Thursday, July 31, 2014 9:18:17 AM UTC-4, perrine...@esearchvision.com wrote: Hello, I have an upgraded account regarding location extensions. In this blogspot, it is written that legacy location extension are removed when upgrading the account: http://googleadsdeveloper.blogspot.fr/2014/07/adwords-api-upgrading-to-account-level.html However, I still can create legacy location extensions via the API in my self upgraded account. What does this mean ? Which LE is really used ? Maybe LE are not removed before the date 25th of august even if the account is upgraded ? As a consequence, will the legacy LE be removed the 25th of august ? Thanks in advance, Perrine -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Regardless of Landing Page quality in UI, QualityInfo.IsLandingPageQualityAcceptable always TRUE
Hi James, Thanks for sending over the IDs and information. I'll take a look and get back to you. Cheers, Josh, AdWords API Team On Friday, August 1, 2014 1:03:36 PM UTC-4, James Kelly wrote: Thanks for looking into this. Here are some ad groups that have many keywords where - IsKeywordAdRelevanceAcceptable, IsLandingPageQualityAcceptable, IsLandingPageLatencyAcceptable are all TRUE - Quality score is =5 (I can also provide a list where QS=2 as described above, but they are spread out across a much larger set of ad groups). - One or more of the metrics in the Adwords UI are list as 'Below Average' when hovering - The quality score reported by the API does appear to be correct and if not exactly what I see in the UI, is within 1 point account_id = 7714368372 campaign_id = 173152032 ad_group_id IN ( 13297850352, 13298336352, 13299243552, 13298938992, 13299022752, 13297766112, 13297869792, 13299088032, 13297850472, 13297993032, 13298939112, 16438706352) On Monday, July 28, 2014 3:16:35 PM UTC-4, Josh Radcliff (AdWords API Team) wrote: Hi James, As mentioned in a similar post https://groups.google.com/d/msg/adwords-api/Gvt4DGEaur8/Yoxoe3Ho52oJ, the API does not return the *exact* same categorization of quality information that's available when you hover over the quality balloons in the UI. That being said, I would be interested in seeing the specific cases you mentioned. Could you provide some campaign and ad group IDs I could check? Thanks, Josh, AdWords API Team On Friday, July 25, 2014 12:46:49 PM UTC-4, James Kelly wrote: I am attempting to take an inventory of my poorly performing landing pages and find areas for improvement... in order to make this a worthwhile exercise I need a way to do this systematically and not by simply going keyword by keyword in the UI, hovering over the bubble and making note of the Landing Page score. I was able to query the AdGroupCriterionService using the API (python) and return the fields from AdGroupCriterionService.QualityInfo https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.QualityInfo The values that are returned for the fields, however, are not consistent with what I see in the UI. - *qualityScore*: matches almost exactly with what I find in the adwords UI - *IsKeywordAdRelevanceAcceptable*: is TRUE in more cases than I would have expected. It seems like there is some relationship between TRUE/FALSE and the score in the UI, but I can find plenty of exception where the field is TRUE but the Ad Relevance is Below Average and vice versa. - *IsLandingPageQualityAcceptable: *is always TRUE, even when I the UI reports Below Average - *IsLandingPageLatencyAcceptable: *is always TRUE, even when I the UI reports Below Average I realize that these fields are boolean and don't correspond directly to the UI scores, but shouldn't there be some relationship? Am I correctly understanding the nature and purpose of these fields? Any ideas what could cause these sort of results? *Here are a couple scenarios that have me confused:* 1. I have a list of dozens of keywords with quality score = 2. In these cases, all three quality measures in the UI reported below average. Yet, the API returns the correct quality score, but the three remaining fields are all TRUE how can this be? 2. When I filter on the predicate IsLandingPageQualityAcceptable = False (see below), I return 0 keywords in an account with 2MM keywords. that makes me suspicious that I am misunderstanding something... #Request only poor landing experience KW's { 'field': 'IsLandingPageQualityAcceptable', 'operator': 'EQUALS', 'values': [False] }, Thanks for any insight to what's happening! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: OAUTH2 setup | localhost / production
Hi Danial, Yes, so since the code is same locally and on server, the client lib is also sending the same request but I see different responses from Google locally and on server - sample code - adwords_client.authorize({oauth2_callback: some_server_url}) this returns back a redirect URL for localhost but a blank token hash on the prod servers. Thanks, Rocky On Monday, August 4, 2014 3:32:57 PM UTC+2, Danial Klimkin wrote: Hello Rocky, The authorization URL is a known value and generally generated on the client side (e.g. by our libraries). Is it the one you are missing? -Danial, AdWords API Team. On Monday, August 4, 2014 1:38:52 PM UTC+4, Rocky Jaiswal wrote: Thanks Danial. We have the setup for OAUTH as - Client ID for web application I have configured this on https://console.developers.google.com/ we have multiple URLs configured as Redirect URIs and JS origins for dev, testing and production. Now, lets say we want to add a new adwords account into our token server. We will first need to authorize it, and we should get a redirect URL from Google so that the user can confirm that. On production lets say https://abc.example.com I do not get a redirect URI back however if I do the same action on http://localhost:3000 it works. Both the URIs are configured on the developer console and the account has not given us any permissions already (so I should get a redirect url back not anything else). So I am lost at why this is happening. Thanks, Rocky On Monday, August 4, 2014 11:21:30 AM UTC+2, Danial Klimkin wrote: Hello Rocky, Could you please describe the issue in more details? What are exact steps for both prod and test setups? Do you use web application or offline OAuth2 client? -Danial, AdWords API Team. On Monday, August 4, 2014 1:04:37 PM UTC+4, Rocky Jaiswal wrote: Hi All, To minimize the hits on Adwords we create an OAuth2 API so one service is responsible for fetching / refreshing the tokens and all other apps get the tokens from this single app. Lately, we have been seeing this issue that when we first try and authorize a new account we do not get a redirect URL back (for the consent popup) on the production server, however when I do the same thing on localhost it works as expected. Is this something to do with OAUTH2 setup, I can confirm that both our URLs (localhost and production) are configured for OAUTH access so I cannot see why this is happening. Any help will be appreciated on this. Thanks, Rocky -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Copy a campaign
Thanks Josh! On Monday, August 4, 2014 2:32:13 PM UTC+1, Josh Radcliff (AdWords API Team) wrote: Hi, The API does not have any functionality to create a deep copy of a Campaign, so you'll need to do this via separate API calls to copy the campaign, its ad groups, its keywords, etc. Cheers, Josh, AdWords API Team On Monday, August 4, 2014 8:54:23 AM UTC-4, Alan Coleman wrote: Hello everyone, I need to build some functionality into our application that creates a new Campaign furnished with AdGroups, TextAds and Keywords from a campaign that already exists - essentially *copy a campaign*. I can achieve this by using my local information to create a Campaign and furnish with AdGroups, TextAds and Keywords. However a more elegant approach, and this is my question - Can I simply use the API to copy an existing campaign and give it a new name etc? Many thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: AlertService problem
Hi, We do not have any immediate plans for expanding or enhancing the alert service. If and when this changes, we'll post an announcement to our blog http://googleadsdeveloper.blogspot.com/search/label/adwords_api. Cheers, Josh, AdWords API Team On Monday, April 7, 2014 3:15:23 PM UTC-4, Josh Radcliff (AdWords API Team) wrote: Hi, Sorry, but I don't have an ETA for a fix for this yet. Regards, Josh, AdWords API Team On Monday, April 7, 2014 4:59:50 AM UTC-4, Sebastian Prmanagement wrote: any news? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: How to query video ad performance data?
Hello Patricio, AdWords for Video is currently not supportred by AdWords API unfortunately. There is no estimate at the moment. -Danial, AdWords API Team. On Monday, August 4, 2014 6:43:59 PM UTC+4, Patricio Schiumerini wrote: Hi David, Do you have any update on this? Video ads are not in the ad performance report. Thanks! El jueves, 21 de marzo de 2013 13:33:18 UTC-3, David Torres (AdWords API Team) escribió: Hi Ken, We don't have any dates to communicate yet. Best, - David Torres - AdWords API Team On Tuesday, March 19, 2013 1:42:38 PM UTC-4, ken.kw...@gmail.com wrote: Replying to my own post here. Appears from other similar posts that Video Ad/Campaign reporting is not supported by the adwords API yet. Would just like to cast another vote to request the addition of this support. And would certainly love to know if Google has any plans to add this and if so when? thanks! ken On Monday, March 18, 2013 11:03:24 AM UTC-7, ken.kw...@gmail.com wrote: Hello, I'm writing an app to report on the performance of video ads. For a given video and date range I'd like to report on the the number of organic and paid views, cost per view, cost per click, etc. and distinguish in-display, in-search, in-stream. Can I get this data from the adwords api and if so which service and methods should I look at? Thanks, Ken -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: How to query video ad performance data?
Hi David, Do you have any update on this? Video ads are not in the ad performance report. Thanks! El jueves, 21 de marzo de 2013 13:33:18 UTC-3, David Torres (AdWords API Team) escribió: Hi Ken, We don't have any dates to communicate yet. Best, - David Torres - AdWords API Team On Tuesday, March 19, 2013 1:42:38 PM UTC-4, ken.kw...@gmail.com wrote: Replying to my own post here. Appears from other similar posts that Video Ad/Campaign reporting is not supported by the adwords API yet. Would just like to cast another vote to request the addition of this support. And would certainly love to know if Google has any plans to add this and if so when? thanks! ken On Monday, March 18, 2013 11:03:24 AM UTC-7, ken.kw...@gmail.com wrote: Hello, I'm writing an app to report on the performance of video ads. For a given video and date range I'd like to report on the the number of organic and paid views, cost per view, cost per click, etc. and distinguish in-display, in-search, in-stream. Can I get this data from the adwords api and if so which service and methods should I look at? Thanks, Ken -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: OAUTH2 setup | localhost / production
Hello Rocky, Can you send me exact URLs produced in both cases, and exact server responses? Please send that only to me *directly* (reply to author on the right). -Danial, AdWords API Team. On Monday, August 4, 2014 5:44:23 PM UTC+4, Rocky Jaiswal wrote: Hi Danial, Yes, so since the code is same locally and on server, the client lib is also sending the same request but I see different responses from Google locally and on server - sample code - adwords_client.authorize({oauth2_callback: some_server_url}) this returns back a redirect URL for localhost but a blank token hash on the prod servers. Thanks, Rocky On Monday, August 4, 2014 3:32:57 PM UTC+2, Danial Klimkin wrote: Hello Rocky, The authorization URL is a known value and generally generated on the client side (e.g. by our libraries). Is it the one you are missing? -Danial, AdWords API Team. On Monday, August 4, 2014 1:38:52 PM UTC+4, Rocky Jaiswal wrote: Thanks Danial. We have the setup for OAUTH as - Client ID for web application I have configured this on https://console.developers.google.com/ we have multiple URLs configured as Redirect URIs and JS origins for dev, testing and production. Now, lets say we want to add a new adwords account into our token server. We will first need to authorize it, and we should get a redirect URL from Google so that the user can confirm that. On production lets say https://abc.example.com I do not get a redirect URI back however if I do the same action on http://localhost:3000 it works. Both the URIs are configured on the developer console and the account has not given us any permissions already (so I should get a redirect url back not anything else). So I am lost at why this is happening. Thanks, Rocky On Monday, August 4, 2014 11:21:30 AM UTC+2, Danial Klimkin wrote: Hello Rocky, Could you please describe the issue in more details? What are exact steps for both prod and test setups? Do you use web application or offline OAuth2 client? -Danial, AdWords API Team. On Monday, August 4, 2014 1:04:37 PM UTC+4, Rocky Jaiswal wrote: Hi All, To minimize the hits on Adwords we create an OAuth2 API so one service is responsible for fetching / refreshing the tokens and all other apps get the tokens from this single app. Lately, we have been seeing this issue that when we first try and authorize a new account we do not get a redirect URL back (for the consent popup) on the production server, however when I do the same thing on localhost it works as expected. Is this something to do with OAUTH2 setup, I can confirm that both our URLs (localhost and production) are configured for OAUTH access so I cannot see why this is happening. Any help will be appreciated on this. Thanks, Rocky -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: OAUTH2 setup | localhost / production
Hi Danial, Sent a private reply, hope you got it (I was slightly confused by the interface). Thanks, Rocky On Monday, August 4, 2014 5:08:02 PM UTC+2, Danial Klimkin wrote: Hello Rocky, Can you send me exact URLs produced in both cases, and exact server responses? Please send that only to me *directly* (reply to author on the right). -Danial, AdWords API Team. On Monday, August 4, 2014 5:44:23 PM UTC+4, Rocky Jaiswal wrote: Hi Danial, Yes, so since the code is same locally and on server, the client lib is also sending the same request but I see different responses from Google locally and on server - sample code - adwords_client.authorize({oauth2_callback: some_server_url}) this returns back a redirect URL for localhost but a blank token hash on the prod servers. Thanks, Rocky On Monday, August 4, 2014 3:32:57 PM UTC+2, Danial Klimkin wrote: Hello Rocky, The authorization URL is a known value and generally generated on the client side (e.g. by our libraries). Is it the one you are missing? -Danial, AdWords API Team. On Monday, August 4, 2014 1:38:52 PM UTC+4, Rocky Jaiswal wrote: Thanks Danial. We have the setup for OAUTH as - Client ID for web application I have configured this on https://console.developers.google.com/ we have multiple URLs configured as Redirect URIs and JS origins for dev, testing and production. Now, lets say we want to add a new adwords account into our token server. We will first need to authorize it, and we should get a redirect URL from Google so that the user can confirm that. On production lets say https://abc.example.com I do not get a redirect URI back however if I do the same action on http://localhost:3000 it works. Both the URIs are configured on the developer console and the account has not given us any permissions already (so I should get a redirect url back not anything else). So I am lost at why this is happening. Thanks, Rocky On Monday, August 4, 2014 11:21:30 AM UTC+2, Danial Klimkin wrote: Hello Rocky, Could you please describe the issue in more details? What are exact steps for both prod and test setups? Do you use web application or offline OAuth2 client? -Danial, AdWords API Team. On Monday, August 4, 2014 1:04:37 PM UTC+4, Rocky Jaiswal wrote: Hi All, To minimize the hits on Adwords we create an OAuth2 API so one service is responsible for fetching / refreshing the tokens and all other apps get the tokens from this single app. Lately, we have been seeing this issue that when we first try and authorize a new account we do not get a redirect URL back (for the consent popup) on the production server, however when I do the same thing on localhost it works as expected. Is this something to do with OAUTH2 setup, I can confirm that both our URLs (localhost and production) are configured for OAUTH access so I cannot see why this is happening. Any help will be appreciated on this. Thanks, Rocky -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Add locations with radius programmatically
Hi here! How is it possible to add locations with radius programmatically as I can do it using UI: https://lh6.googleusercontent.com/-oFfRBlWc5dI/U9-nhjAcUMI/AAABPnU/FT88U9MSisU/s1600/Locations.png Thank you in advance -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Add Google Adwords Call Extension to AdGroup using API
Hi James, The platform targeting section of our sitelinks guide https://developers.google.com/adwords/api/docs/guides/feed-services#platformtargets shows how to target specific device types. Thanks, Josh, AdWords API Team On Friday, August 1, 2014 4:44:31 PM UTC-4, James Mills wrote: Hiya, No, how do you select that using the API? All UI stuff works now. Thanks for all your help! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Add locations with radius programmatically
Hi, You can do this using a Proximity https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.Proximity campaign criterion. See our Location Targeting Guide https://developers.google.com/adwords/api/docs/guides/location-targeting#proximity-targeting for more details. Cheers, Josh, AdWords API Team On Monday, August 4, 2014 11:36:00 AM UTC-4, Dzmitry Zahusta wrote: Hi here! How is it possible to add locations with radius programmatically as I can do it using UI: https://lh6.googleusercontent.com/-oFfRBlWc5dI/U9-nhjAcUMI/AAABPnU/FT88U9MSisU/s1600/Locations.png Thank you in advance -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: OAUTH2 setup | localhost / production
So the only difference between prod and dev env. is the callback URL, which is causing difference in response from Google. I am looking into this more, please hang on Danial. Thanks, Rocky On Monday, August 4, 2014 5:32:58 PM UTC+2, Rocky Jaiswal wrote: Hi Danial, Sent a private reply, hope you got it (I was slightly confused by the interface). Thanks, Rocky On Monday, August 4, 2014 5:08:02 PM UTC+2, Danial Klimkin wrote: Hello Rocky, Can you send me exact URLs produced in both cases, and exact server responses? Please send that only to me *directly* (reply to author on the right). -Danial, AdWords API Team. On Monday, August 4, 2014 5:44:23 PM UTC+4, Rocky Jaiswal wrote: Hi Danial, Yes, so since the code is same locally and on server, the client lib is also sending the same request but I see different responses from Google locally and on server - sample code - adwords_client.authorize({oauth2_callback: some_server_url}) this returns back a redirect URL for localhost but a blank token hash on the prod servers. Thanks, Rocky On Monday, August 4, 2014 3:32:57 PM UTC+2, Danial Klimkin wrote: Hello Rocky, The authorization URL is a known value and generally generated on the client side (e.g. by our libraries). Is it the one you are missing? -Danial, AdWords API Team. On Monday, August 4, 2014 1:38:52 PM UTC+4, Rocky Jaiswal wrote: Thanks Danial. We have the setup for OAUTH as - Client ID for web application I have configured this on https://console.developers.google.com/ we have multiple URLs configured as Redirect URIs and JS origins for dev, testing and production. Now, lets say we want to add a new adwords account into our token server. We will first need to authorize it, and we should get a redirect URL from Google so that the user can confirm that. On production lets say https://abc.example.com I do not get a redirect URI back however if I do the same action on http://localhost:3000 it works. Both the URIs are configured on the developer console and the account has not given us any permissions already (so I should get a redirect url back not anything else). So I am lost at why this is happening. Thanks, Rocky On Monday, August 4, 2014 11:21:30 AM UTC+2, Danial Klimkin wrote: Hello Rocky, Could you please describe the issue in more details? What are exact steps for both prod and test setups? Do you use web application or offline OAuth2 client? -Danial, AdWords API Team. On Monday, August 4, 2014 1:04:37 PM UTC+4, Rocky Jaiswal wrote: Hi All, To minimize the hits on Adwords we create an OAuth2 API so one service is responsible for fetching / refreshing the tokens and all other apps get the tokens from this single app. Lately, we have been seeing this issue that when we first try and authorize a new account we do not get a redirect URL back (for the consent popup) on the production server, however when I do the same thing on localhost it works as expected. Is this something to do with OAUTH2 setup, I can confirm that both our URLs (localhost and production) are configured for OAUTH access so I cannot see why this is happening. Any help will be appreciated on this. Thanks, Rocky -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Add locations with radius programmatically
Hi Josh! I don't think this is right way. To add Location you need to know its criteria id (for example 21137L - California). But to add Proximity you need to know the proper address or lattitude and longitude. And there is no way to map criteria id to some address or retrieve its GeoPoint to set to Proximity. In other words - I want to get the same object to set for LocationCriterion and Proximity. My thought is if it's possible in UI it should be possible in the code. понедельник, 4 августа 2014 г., 19:17:17 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: Hi, You can do this using a Proximity https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.Proximity campaign criterion. See our Location Targeting Guide https://developers.google.com/adwords/api/docs/guides/location-targeting#proximity-targeting for more details. Cheers, Josh, AdWords API Team On Monday, August 4, 2014 11:36:00 AM UTC-4, Dzmitry Zahusta wrote: Hi here! How is it possible to add locations with radius programmatically as I can do it using UI: https://lh6.googleusercontent.com/-oFfRBlWc5dI/U9-nhjAcUMI/AAABPnU/FT88U9MSisU/s1600/Locations.png Thank you in advance -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Keywordless Query Report Clicks and Impression Totals Do Not Match Add Performance Report for AdType DSA
Hi, We released a fix for this issue recently, and I'm now seeing consistent results with and without the *Query* field included. Please check your report's output and post back to this thread if you still see any issues. Cheers, Josh, AdWords API Team On Monday, March 10, 2014 4:39:14 PM UTC-4, Josh Radcliff (AdWords API Team) wrote: Hi Jonathan, Could you send over the report definitions you are using when you see these discrepancies? Per the forum rules https://groups.google.com/forum/#!topic/adwords-api/lUQpWowB44k, please avoid posting any sensitive information about your account. If you'd prefer, you can send the information only to me by clicking Reply to Author. My suspicion is that the discrepancies between the two reports is related to single vs. multiple attribution https://devsite.googleplex.com/adwords/api/docs/guides/reporting-concepts#single, but having the exact report definitions and AdWords account IDs you're using will help me confirm this. Thanks, Josh, AdWords API Team On Tuesday, February 25, 2014 4:08:59 AM UTC-5, Takeshi Hagikura (AdWords API Team) wrote: Hi Jonathan, Apologies for the late reply. I'm looking into it each of those. I'll update the thread once I've got the answer. Best, - Takeshi, AdWords API Team On Saturday, February 15, 2014 3:11:57 AM UTC+9, jsob...@tripadvisor.com wrote: Hi Takeshi, Thanks for confirming that the description for Query is wrong. Can you please let me know if it is possible to include the longer query strings in the report and if so, how? I see that in the reports API the description has been updated to: We only show the first 128 char bytes of a query; so two rows with seemingly identical query strings just indicates that there were some differences past the 128th byte. When I was running the report, I observed that the number of rows I got back in the report results varied drastically if I included or excluded the Query column. Can you possibly update the description to explain why that might be the case? Also, can you help with explaining the other discrepancies in total clicks and impressions that I am seeing between the two reports? Thanks! Jonathan On Thursday, February 6, 2014 4:44:49 AM UTC-5, Takeshi Hagikura (AdWords API Team) wrote: Hi Jonathan, The description for Query seems to be wrong in Keywordless Query Report. Originally the description was for Search Query Performance Report not for the Keywordless Query Report. It seems to be there by mistake. We'll fix this. Best, - Takeshi, AdWords API Team On Friday, January 31, 2014 6:41:47 AM UTC+9, jsob...@tripadvisor.com wrote: Hello Google AdWords API Support, I am trying to use the AdWords API to get the Keywordless Query Report here: https://developers.google.com/adwords/api/docs/appendix/reports#keywordless-query I am trying to verify that the data I am pulling is correct by comparing total clicks and impressions from the Keywordless Query Report to the Ad Performance Report in the AdWords UI filtered for AdType DSA. What I am seeing is that in the Keywordless Query Report total clicks are close but less than for the Ad Performance Report, and total impressions are drastically lower for the Keywordless Query Report than the Ad performance Report. I am pulling the following columns for the Keywordless Query Report: AverageCPC Impressions Clicks Cost Ctr CriterionId AdGroupId CampaignId Title Domain Url I notice that if I also pull the Query column then a large number of rows do not get returned and there is a much bigger discrepancy in total clicks and impressions. I am guessing that this is because the note for the Query column in the report description page says: If the string for this attribute is longer than 128 char bytes, the returned result will NOT be a single aggregated row. This message seems misleading. If the query is greater than 128 characters, is it impossible to see what the query was? If not, how do I see what the query was? Why would I be seeing a discrepancy in these two reports? Is this expected? Thanks in advance for your assistance. Jonathan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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,
Re: Add locations with radius programmatically
Hi, Proximity criteria is the only way to do radius targeting through the API. Note that you can look up the *GeoPoint* that corresponds to an address (including a partial address, e.g., one based solely on postalCode https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService.Address#postalCode) using GeoLocationService https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService. Once you have the *GeoPoint*, you can then use that to construct your *Proximity* object. A similar concept is LocationGroups https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.LocationGroups, which allow you to target areas or demographic groups near one or more locations. See the AddCampaignTargetingCriteria.java https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/targeting/AddCampaignTargetingCriteria.java#L114 example in each client library's *targeting* folder for details. Thanks, Josh, AdWords API Team On Monday, August 4, 2014 1:50:12 PM UTC-4, Dzmitry Zahusta wrote: Hi Josh! I don't think this is right way. To add Location you need to know its criteria id (for example 21137L - California). But to add Proximity you need to know the proper address or lattitude and longitude. And there is no way to map criteria id to some address or retrieve its GeoPoint to set to Proximity. In other words - I want to get the same object to set for LocationCriterion and Proximity. My thought is if it's possible in UI it should be possible in the code. понедельник, 4 августа 2014 г., 19:17:17 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: Hi, You can do this using a Proximity https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.Proximity campaign criterion. See our Location Targeting Guide https://developers.google.com/adwords/api/docs/guides/location-targeting#proximity-targeting for more details. Cheers, Josh, AdWords API Team On Monday, August 4, 2014 11:36:00 AM UTC-4, Dzmitry Zahusta wrote: Hi here! How is it possible to add locations with radius programmatically as I can do it using UI: https://lh6.googleusercontent.com/-oFfRBlWc5dI/U9-nhjAcUMI/AAABPnU/FT88U9MSisU/s1600/Locations.png Thank you in advance -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Not authorized to request the scopes
Thank you for the response, Danial. I failed to note that the original poster was using the deprecated scope. I am getting this result while using the current adwords scope (https://www.googleapis.com/auth/adwords). Just tested with the deprecated scope and received the same results. I've attempted to use the Installed Application grant flow with the results described on this stackoverflow.com post: http://stackoverflow.com/questions/25024374/google-api-oauth-2-0-installed-application-grant-flow-why-is-the-authorization It seems that the Web Application grant flow (including offline) relies on a server listening at the redirect URI to complete the exchange. (This is not feasible in my use-case.) Have I missed something? ~Jonathan Jones On Monday, August 4, 2014 3:37:48 AM UTC-6, Danial Klimkin wrote: Hello Jonathan, Please try either offline or web application flows. Also, note you are requesting the deprecated scope. It should still work but we recommend to use the new one for all new applications: https://developers.google.com/adwords/api/docs/guides/authentication#scope -Danial, AdWords API Team. On Saturday, August 2, 2014 2:03:48 AM UTC+4, Jonathan Jones wrote: I am receiving exactly the same response as Jeff Knight reported. The only difference is that I am making the initial POST from a native C++ app. If I request a scope of https://www.google.com/calendar/feeds/;, the response includes a device code, user code, etc.. as expected. To be perfectly clear, I am attempting to acquire an access/refresh token for the Adwords API using the OAuth for Devices flow. What might cause this response? As a side-note, using a client library is not an option in my use case. Thank you for your time, Jonathan Jones On Friday, May 30, 2014 8:24:52 AM UTC-6, Michael Cloonan (AdWords API Team) wrote: Hello Jeff, Have you tried using one of our automated tools to fetch the refresh token? They are linked in the middle article you mentioned, after you pick a client library language. Please give one of these a try. If that still fails, I can take a more detailed look. Regards, Mike, AdWords API Team On Thursday, May 29, 2014 4:37:34 PM UTC-4, Jeff Knight wrote: I have followed the following guides, but am still having issues. https://developers.google.com/accounts/docs/OAuth2ForDevices https://developers.google.com/adwords/api/docs/guides/authentication#getting_started_with_oauth_20_and_the_adwords_api https://support.google.com/a/answer/162106?hl=en Whenever I make the curl call to get the refresh token, I keep getting the following error curl -d client_id=.apps.googleusercontent.comscope= https://adwords.google.com/api/adwords/; https://accounts.google.com/o/oauth2/device/code { error : invalid_scope, error_description : Not authorized to request the scopes: [ https://adwords.google.com/api/adwords/];, error_uri : http://code.google.com/apis/accounts/docs/OAuth2.html; } I have enabled the client id and scope access following the Third Party Data Access (Oauth) guide. Any help would be greatly appreciated Thanks Jeff -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Add locations with radius programmatically
Hi, The problem with GeoLocationService https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService is that it returns an array of GeoLocation https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService.GeoLocation.html . For example, even in US there are several cities with the same name - try Paris or London. And if with criteria id I can uniquely choose the proper city, I have no idea how to choose the proper one (that correspond to the same city identified by criteria id) using GeoLocationService https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService . Do you know any solution? понедельник, 4 августа 2014 г., 21:18:48 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: Hi, Proximity criteria is the only way to do radius targeting through the API. Note that you can look up the *GeoPoint* that corresponds to an address (including a partial address, e.g., one based solely on postalCode https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService.Address#postalCode) using GeoLocationService https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService. Once you have the *GeoPoint*, you can then use that to construct your *Proximity* object. A similar concept is LocationGroups https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.LocationGroups, which allow you to target areas or demographic groups near one or more locations. See the AddCampaignTargetingCriteria.java https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/targeting/AddCampaignTargetingCriteria.java#L114 example in each client library's *targeting* folder for details. Thanks, Josh, AdWords API Team On Monday, August 4, 2014 1:50:12 PM UTC-4, Dzmitry Zahusta wrote: Hi Josh! I don't think this is right way. To add Location you need to know its criteria id (for example 21137L - California). But to add Proximity you need to know the proper address or lattitude and longitude. And there is no way to map criteria id to some address or retrieve its GeoPoint to set to Proximity. In other words - I want to get the same object to set for LocationCriterion and Proximity. My thought is if it's possible in UI it should be possible in the code. понедельник, 4 августа 2014 г., 19:17:17 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: Hi, You can do this using a Proximity https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.Proximity campaign criterion. See our Location Targeting Guide https://developers.google.com/adwords/api/docs/guides/location-targeting#proximity-targeting for more details. Cheers, Josh, AdWords API Team On Monday, August 4, 2014 11:36:00 AM UTC-4, Dzmitry Zahusta wrote: Hi here! How is it possible to add locations with radius programmatically as I can do it using UI: https://lh6.googleusercontent.com/-oFfRBlWc5dI/U9-nhjAcUMI/AAABPnU/FT88U9MSisU/s1600/Locations.png Thank you in advance -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.
Re: Add locations with radius programmatically
Hi, If you create radius targeting through the UI, you'll see that you get a Proximity object as I described. For example, I used the UI to create radius targeting around two areas in my campaign: postal code 11215, and Paris, France. This resulted in the CampaignCriterion list shown at the end of this message. You could achieve the same thing through the API by using GeoLocationService to find the latitude longitude for the partial address of interest. For example, for Paris, France, you'd submit a GeoLocationService request where you just populated cityName https://developers.google.com/adwords/api/docs/reference/v201402/GeoLocationService.Address#cityName = Paris and countryCode https://developers.google.com/adwords/api/docs/reference/v201402/GeoLocationService.Address#countryCode = FR. selector addresses cityNameParis/cityName countryCodeFR/countryCode /addresses /selector This would give you: getResponse xmlns=https://adwords.google.com/api/adwords/cm/v201402; rval geoPoint latitudeInMicroDegrees48856614/latitudeInMicroDegrees longitudeInMicroDegrees2352221/longitudeInMicroDegrees /geoPoint address cityNameParis/cityName countryCodeFR/countryCode /address encodedLocation.../encodedLocation GeoLocation.TypeGeoLocation/GeoLocation.Type /rval /getResponse You could then use that GeoPoint to construct your Proximity object. Regards, Josh, AdWords API Team entries campaignIdxxx/campaignId isNegativefalse/isNegative criterion xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=Proximity id95050702855/id typePROXIMITY/type Criterion.TypeProximity/Criterion.Type geoPoint latitudeInMicroDegrees40683006/latitudeInMicroDegrees longitudeInMicroDegrees-73980064/longitudeInMicroDegrees /geoPoint radiusDistanceUnitsKILOMETERS/radiusDistanceUnits radiusInUnits20.0/radiusInUnits address cityNameBrooklyn/cityName provinceNameNY/provinceName postalCode11215/postalCode countryCodeUS/countryCode /address /criterion CampaignCriterion.TypeCampaignCriterion/CampaignCriterion.Type /entries entries campaignIdxxx/campaignId isNegativefalse/isNegative criterion xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=Proximity id98646096895/id typePROXIMITY/type Criterion.TypeProximity/Criterion.Type geoPoint latitudeInMicroDegrees48856614/latitudeInMicroDegrees longitudeInMicroDegrees2352221/longitudeInMicroDegrees /geoPoint radiusDistanceUnitsMILES/radiusDistanceUnits radiusInUnits20.0/radiusInUnits address cityNameParis/cityName countryCodeFR/countryCode /address /criterion CampaignCriterion.TypeCampaignCriterion/CampaignCriterion.Type /entries On Monday, August 4, 2014 3:55:50 PM UTC-4, Dzmitry Zahusta wrote: Hi, The problem with GeoLocationService https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService is that it returns an array of GeoLocation https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService.GeoLocation.html . For example, even in US there are several cities with the same name - try Paris or London. And if with criteria id I can uniquely choose the proper city, I have no idea how to choose the proper one (that correspond to the same city identified by criteria id) using GeoLocationService https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService . Do you know any solution? понедельник, 4 августа 2014 г., 21:18:48 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: Hi, Proximity criteria is the only way to do radius targeting through the API. Note that you can look up the *GeoPoint* that corresponds to an address (including a partial address, e.g., one based solely on postalCode https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService.Address#postalCode) using GeoLocationService https://developers.google.com/adwords/api/docs/reference/v201406/GeoLocationService. Once you have the *GeoPoint*, you can then use that to construct your *Proximity* object. A similar concept is LocationGroups https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.LocationGroups, which allow you to target areas or demographic groups near one or more locations. See the AddCampaignTargetingCriteria.java https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/targeting/AddCampaignTargetingCriteria.java#L114 example in each client library's *targeting* folder for details. Thanks, Josh, AdWords API Team On
Re: Downloading attribute / structural data
Hi Josh, I want to directly retrieve cost for a certain campaign using AWQL on the campaign service and output it in my program. Is that possible? Or am I supposed to download an AdHoc report in csv format, then parse it to retrieve the cost value?! Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d/optout.