Re: ShoppingCampaign understanding

2014-07-17 Thread cp.adwords via AdWords API Forum
Hi Josh, thank you very much for the informative answers. Cheers, Cuong On Wednesday, July 16, 2014 10:07:21 PM UTC+2, Josh Radcliff (AdWords API Team) wrote: Hi Cuong, Please see my answers below in purple. Cheers, Josh, AdWords API Team On Wednesday, July 16, 2014 12:27:04 PM UTC-4,

Re: Setting the CPC bid on product in shopping campaign.

2014-07-17 Thread david
On Wednesday, 16 July 2014 15:56:38 UTC+1, GregT wrote: (because the API requires you to send the entire product partition tree for an ad group in one call, and an ad group's partition tree could be up to 20,000 criterion), Slightly OT but just in case it helps, the above isn't quite

Re: GetRefreshToken.php Error: disabled_client The OAuth client was disabled.

2014-07-17 Thread Sarah Gilmore
Hi Ray When I execute the url provided by the script I get the following error on screen: 401 Error: disabled_client The OAuth client was disabled. Request Details scope=https://www.googleapis.com/auth/adwords response_type=code access_type=offline redirect_uri=urn:ietf:wg:oauth:2.0:oob

NullPointerException in Java-Client-Library

2014-07-17 Thread Alex
If the httpRequest is not successfull then the client-library tries to throw a TokenResponseException in com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(). But during the construction of that exception a NullPointerException is thrown. java.lang.NullPointerException

Re: Change from deleted to removed

2014-07-17 Thread MarcF
Hi, When an adgroup entity status is set to Removed with v201406, we can not switch status to Enabled or Paused (OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY). But with the UI it's possible, and if we use 201402, the entity removed, can be restored with the wanted status (Paused,..) How can we

ERROR_GETTING_RESPONSE_FROM_BACKEND when filtering by Labels

2014-07-17 Thread Cesar D.
I'm trying to query the CAMPAIGN_PERFORMANCE_REPORT filtering by Labels using a selector like this: {operator: CONTAINS_ANY, field: Labels, values: [MY_LABEL]} As a result I get ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND. I've tried with other operators but get a different error:

Failed to refresh access token. { error : invalid_client } on perfectly good client

2014-07-17 Thread Zweitze
Hi, This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred: Failed to refresh access token. { error : invalid_client } Unfortunately the .NET library destroyed all extra information, so I don't have response headers, HTTP status code etc. Anyway, the error occurred a eight times in

ConversionTypename not accessible from the .net api

2014-07-17 Thread nuwan . gebalanage
Hi, I am trying to pull the conversion type name and click assisted conversions using the .net api v201402. My code is as following. It fails on pulling the conversion type name and click assisted conversions but works for campaignname and clickassistedconvesins (Commented out)

Re: Failed to refresh access token. { error : invalid_client } on perfectly good client

2014-07-17 Thread Dominik R
Same here with the PHP library: Fatal error: Uncaught exception 'OAuth2Exception' with message '{ error : invalid_client }' in AdWords/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php:121 On Thursday, July 17, 2014 12:34:29 PM UTC+2, Zweitze wrote: Hi, This morning a

oAuth 2 and CFML without cfoauth tag

2014-07-17 Thread John Bliss
Hopefully, this will save someone a bunch of time. This is a very simple example of how to do oAuth 2 (in this case, with Google) in CFML without using ACF 11's new cfoauth tag: http://www.brandiandjohn.com/post.cfm/oauth-2-google-and-cfml-without-cfoauth -- --

Re: Failed to refresh access token. { error : invalid_client } on perfectly good client

2014-07-17 Thread Danial Klimkin
Hello, Did you update the client libraries recently or are they the same you've used before? -Danial, AdWords API Team. On Thursday, July 17, 2014 2:34:29 PM UTC+4, Zweitze wrote: Hi, This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred: Failed to refresh access token.

Intermittent errors on token refresh

2014-07-17 Thread .NET_Api_User
*Getting: * 7/17/2014 7:02:14 AM | Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access token. { error : invalid_client } at Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessTokenInOfflineMode() at

Re: Report Download failing for some accounts

2014-07-17 Thread Danial Klimkin
Hello Gabriel, Please check the returned HTTP body for more specific error message. Also, make sure the user you run the API request under has access to the account in question. -Danial, AdWords API Team. On Wednesday, July 16, 2014 9:36:06 PM UTC+4, Gabriel Moser wrote: I am trying to

Re: Question about Adwords API

2014-07-17 Thread Danial Klimkin
Hello Jonathan, It looks like you are using Google Analytics API so please check with the relevant group. As per issue, with OAuth2 you need to store refresh and access token you get back in your redirect URL. -Danial, AdWords API Team. On Wednesday, July 16, 2014 4:58:15 PM UTC+4,

Re: Failed to refresh access token. { error : invalid_client } on perfectly good client

2014-07-17 Thread oseemann
We're experiencing the same issue, but the errors are transient. They happen sometimes for some accounts and are not reproducible. It started approx. 11 hours ago. On Thursday, July 17, 2014 12:34:29 PM UTC+2, Zweitze wrote: Hi, This morning a Google.Api.Ads.Common.Lib.AdsOAuthException

Re: Failed to refresh access token. { error : invalid_client } on perfectly good client

2014-07-17 Thread Danial Klimkin
We are looking into this issue, I'll update this thread once we have any updates. -Danial, AdWords API Team. On Thursday, July 17, 2014 5:04:38 PM UTC+4, oseemann wrote: We're experiencing the same issue, but the errors are transient. They happen sometimes for some accounts and are not

Re: ERROR_GETTING_RESPONSE_FROM_BACKEND when filtering by Labels

2014-07-17 Thread Danial Klimkin
Hello Cesar, Labels are filtered by label IDs, not names. So the values needs to be an array like [12,342,234]. -Danial, AdWords API Team. On Thursday, July 17, 2014 1:51:40 PM UTC+4, Cesar D. wrote: I'm trying to query the CAMPAIGN_PERFORMANCE_REPORT filtering by Labels using a

Re: ERROR_GETTING_RESPONSE_FROM_BACKEND when filtering by Labels

2014-07-17 Thread Cesar D.
Hi Danial, I assumed it would work with label names as it is does in AdWords Scripts. Thanks for the clarification. Cesar On Thursday, July 17, 2014 3:11:54 PM UTC+2, Danial Klimkin wrote: Hello Cesar, Labels are filtered by label IDs, not names. So the values needs to be an

Re: How to retrieve Sitelinks urls.

2014-07-17 Thread Emiliano Busiello
Hi Anash Should I have asked somewhere else? Your link redirects exactly where I opened the post, anyway thanks for the answer, I'll try as soon as I can. On Monday, 14 July 2014 20:47:05 UTC+2, Anash P. Oommen (AdWords API Team) wrote: Hi Emiliano, If you plan on using AdWords API, then

Ad performance report: get paused ads.

2014-07-17 Thread Emiliano Busiello
I'm experiencing a problem with the ad performance report (https://developers.google.com/adwords/api/docs/appendix/reports#ad) functionality, as the title says paused ads are not added to the report. This is my query at the moment: SELECT Id, CampaignName, AdGroupName, AveragePosition,

Re: Failed to refresh access token. { error : invalid_client } on perfectly good client

2014-07-17 Thread Zweitze
In my case: I use .NET 16.7. Call stack: Google.Api.Ads.AdWords.v201402.FeedMappingService.get (Selector selector) Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke (String methodName, Object[] parameters) Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall (String methodName, Object[]

Re: log file path

2014-07-17 Thread SL
thank you for the offer but much too busy right now. Sam On Wednesday, July 16, 2014 1:40:52 PM UTC-4, Anash P. Oommen (AdWords API Team) wrote: Hi, I guess the next best thing would be to download the source distribution of the project from

Re: The request failed with HTTP status 502: Bad Gateway.

2014-07-17 Thread SL
we are not experiencing this anymore. On Thursday, July 10, 2014 11:45:18 AM UTC-4, Ray Tsang (AdWords API Team) wrote: Sam, Could I trouble you to send me a few log entries (in private) as well? Thanks! Ray On Wednesday, July 9, 2014 4:39:36 PM UTC-4, SL wrote: It is intermittent

Re: ShoppingCampaign understanding

2014-07-17 Thread cp.adwords via AdWords API Forum
Hi Josh, I have another doubt. It seems I can only set cpc bid down to Category level but not product level, does it? Is there a way I can set cpc bid for a particular product? Thanks a lot Cuong On Wednesday, July 16, 2014 10:07:21 PM UTC+2, Josh Radcliff (AdWords API Team) wrote: Hi

Adwords api integration Query

2014-07-17 Thread Altaf Mulla
https://lh3.googleusercontent.com/-4HQCp0tbviE/U8fic3a42II/AIg/g7yBQtbjR0c/s1600/campaign.png https://lh6.googleusercontent.com/-vefVy9qtwYM/U8fiPItm1eI/AIY/fXsPNJMJb7U/s1600/accept.jpg

Re: ReportUtilities.DownloadClientReport throws System.NullReferenceException

2014-07-17 Thread Stephen Gilles
I have the same issue - using v18. I've searched extensively in this group, finding many similar issues, but no specific solution... Steve On Monday, June 9, 2014 11:49:58 AM UTC-7, Anash P. Oommen (AdWords API Team) wrote: Hi Peter, I thought I fixed this error. Could you kindly

Re: NullPointerException in Java-Client-Library

2014-07-17 Thread Josh Radcliff (AdWords API Team)
Hi, Thanks for pointing this out. I believe this is the same issue highlighted on our github issues list: https://github.com/googleads/googleads-java-lib/issues/19 We're working on a fix -- please subscribe to notifications on the github issue for updates. Thanks, Josh, AdWords API Team On

Re: ShoppingCampaign understanding

2014-07-17 Thread cp.adwords via AdWords API Forum
Hi Josh, I have further questions. 1. It seems that one can only set cpc bid down to Category but not Product level, or there is a way to do that? 2. Can I have a partition tree like below? And for a Unit ProductPartition, are the the ProductDimensions mutually exclusive or we can combine

Adwords Offline Submission

2014-07-17 Thread Kapil Sriram
Hello I am trying to develop a code that automatically pushes offline conversions into adwords. I have been trying to fix this since last few months and due to lack of support I am stuck. I am using a function from the google adwords api examples which uploads the conversions manually. It

Re: GetRefreshToken.php Error: disabled_client The OAuth client was disabled.

2014-07-17 Thread Ray Tsang (AdWords API Team)
Sarah, Were you using an existing project or a brand new one? If you haven't tried yet, please create a brand new project https://developers.google.com/adwords/api/docs/guides/authentication. Thanks! Ray On Thursday, July 17, 2014 5:05:29 AM UTC-4, Sarah Gilmore wrote: Hi Ray When I

Re: GetRefreshToken.php Error: disabled_client The OAuth client was disabled.

2014-07-17 Thread Ray Tsang (AdWords API Team)
Sarah, Lastly, please send me screenshot of the cloud console for that project in private. Thanks! On Thursday, July 17, 2014 4:26:43 PM UTC-4, Ray Tsang (AdWords API Team) wrote: Sarah, Were you using an existing project or a brand new one? If you haven't tried yet, please create a

Re: ReportUtilities.DownloadClientReport throws System.NullReferenceException

2014-07-17 Thread NET_Api_User
We encounter this too. Added retry logic and that seems to have fixed it. Its bad though to have to catch a NullRef and retry on that. On Thursday, July 17, 2014 8:22:00 PM UTC+5:30, Stephen Gilles wrote: I have the same issue - using v18. I've searched extensively in this group, finding

Re: Failed to refresh access token. { error : invalid_client } on perfectly good client

2014-07-17 Thread NET_Api_User
+1. We're seeing a huge number of these errors - on about 2% of our calls. Retrying seems to help. We moved to the latest .NET release recently. On Thursday, July 17, 2014 4:04:29 PM UTC+5:30, Zweitze wrote: Hi, This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred: Failed to