Re: Which API errors should be retried?

2014-11-20 Thread Oliver
We retry when we see these errors: ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND ReportDownloadError.INTERNAL_SERVER_ERROR ReportDownloadError.ERROR_WRITING_REPORT_TO_FILE InternalApiError.UNEXPECTED_INTERNAL_API_ERROR AuthorizationError.CUSTOMER_SYNC_DISABLED DatabaseError.CONCURRENT_MO

Re: Get Targetting Keywords Based on Radius

2014-11-20 Thread Chirag
Hello Josh, Gotcha! Thank You for your kind reply. On Thursday, 20 November 2014 00:00:50 UTC+5:30, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > As far as I know, neither the API nor the UI will provide keyword > suggestions using Proximity targeting. The closest you can get to that >

Re: Which API errors should be retried?

2014-11-20 Thread Kristopher Windsor
Thanks Michael and Oliver. I want the default to be "do retry," and I wrote this today (PHP): public static function isRetriable($e){ if ($e instanceof SoapFault && @$e->detail->ApiExceptionFault->errors[0 ]->enc_value instanceof ApiError){ $err = $e->detail->ApiExceptionFault->errors

Re: Offline conversion feed - Update conversion value or Delete conversion

2014-11-20 Thread Torben Sominka
Hello Ray, are there any changes/features planned on this? I'm also thinking about using the offline conversions for adjusting the conversion_value. Thanks! Best, Torben Am Mittwoch, 9. Juli 2014 21:39:51 UTC+2 schrieb Ray Tsang (AdWords API Team): > > Ian, > > I'll submit a request for that.

Re: Which API errors should be retried?

2014-11-20 Thread Michael Cloonan (AdWords API Team)
Hello, If you are going to include automatic retry code, please do make sure that you use an exponential backoff in case you are accidentally retrying something that is never going to succeed. Even for a call that might eventually succeed, constantly hitting the server when there are server is

Re: Offline conversion feed - Update conversion value or Delete conversion

2014-11-20 Thread Michael Cloonan (AdWords API Team)
Hello Torben, This is still not available. Please watch our blog for any new feature announcements. Regards, Mike, AdWords API Tema On Thursday, November 20, 2014 8:53:03 AM UTC-5, Torben Sominka wrote: > > Hello Ray, > > are there any changes/features

Re: Update "conversion_value" via API

2014-11-20 Thread Michael Cloonan (AdWords API Team)
Hello, As I believe you have seen on this other topic , this feature is unfortunately not available. Regards, Mike, AdWords API Team On Wednesday, November 19, 2014 10:55:51 AM UTC-5, Torben Sominka wrote: > > Hello @ all, > > I

Display URL vs Landing URL for new Ads?

2014-11-20 Thread apiapi
I will have a need to create several dozen ads for multiple clients using the API. This page: https://support.google.com/adwords/answer/2404246?hl=en "URL Policies" states that the display URL and the landing URL should be on the same website. However, some of the advertisers have tr

Criteria Performance Report stop working since Octuber 27

2014-11-20 Thread Oscar Martinez
Hi all, I have a Marketing Report that executes different requests to different API reports. We get, for example, CriteriaType (selector) from Criteria Performance Report, using Id, AdGroupId and CampaignId as filters (predicates). It has been working, but we realized that this report stopped

Adward Script not working

2014-11-20 Thread jitendra rawat
This is the script I have written in adword script writer but this script not give any row in the query, But when i was running report for campaign performance then it will give data. this script not giving me any row in query function main(){ var report = AdWordsApp.report("Select CampaignN

Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

2014-11-20 Thread eric haberman
Hello, I *thought* that I was all ready for the new API sunset, but apparently not. Using my MCC account, a new refresh token, and the clientID for my MCC account I'm getting this error when instantiating the user object (PHP library) Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigg

Re: Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

2014-11-20 Thread Michael Cloonan (AdWords API Team)
Hello, You shouldn't need to generate a new refresh token to upgrade to a new version of the API. Your existing refresh token should continue to work. As seen on our common errors page , th

Tracking user journey

2014-11-20 Thread mradwan
Hi all, I'm working on a project where I need to integrate with GA and AdWords to track user's journey starting from seeing my ad till landing on my page and submitting a form. I know that in order to be able to do so, I need to link my GA with my AdWords first... Via GA I can get utm cookies

Invalid Token Header

2014-11-20 Thread htang5555
Hey, I am getting an Invalid Token Header whenever i try to make an API Call. I am using NodeJS for this and creating the soap requests manually using a client called node-soap I am setting the header like so... RequestHeader:{ developerToken:"XX", userAgent:"MyAppName" } I am

Error thrown while using Adwords API using Test MCC account and developer token generated from production MCC account

2014-11-20 Thread ravindra naik
Hi, I am trying to use keyword planner api. I have generated a developer token from Production MCC account and I am using a test MCC account for testing. I have created Client Id and client secret key using test account credentials. But I have been getting this exception: Exception in thread

Re: Label creation with Python

2014-11-20 Thread Mark Prentice
I had this same problem too...would be nice if this was made clear in the documentation, or possibly a slightly more helpful error? I was trying to work out what Label.Type they were wanting, especially given that in the documentation it didn't list this as required. It was most confusing. On

V201409, How to get a full list of accounts via ManagedCustomerService

2014-11-20 Thread Liqun Chen
After upgraded to V201409, for all request, we need to provide customer id, otherwise you get CLIENT_CUSTOMER_ID_IS_REQUIRED, but you provided a valid customer id, only return this customer/account. Now I am not able to get a full list of accounts, please advise. -- -- =~=~=~=~=~=~=~=~=~=~=

Re: CRITERIA PERFORMANCE REPORT is empty

2014-11-20 Thread Aram T
However , when I put includeZeroImpressions = true in the definition, the report is returning data. Have checked impressions column in the report , for most rows it is empty but there are also a lot of rows with non zero values. On Thursday, 20 November 2014 00:06:00 UTC+4, Josh Radcliff (AdWo

Re: Invalid Token Header

2014-11-20 Thread Michael Cloonan (AdWords API Team)
Hello, Please take a look at our common errors page for this message and make sure that you double check that your developer token and namespacing are correct. If that doesn't help resolve the

Re: Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

2014-11-20 Thread eric haberman
Thanks Mike for the quick response! Sorry for the confusion :/ "there is no link between the MCC account authenticated in the request and the client account specified in the headers." Since I'm using my MCC account client ID (not a sub-client account), shouldn't it already be authorized? Th

Re: Adward Script not working

2014-11-20 Thread Michael Cloonan (AdWords API Team)
Hello, This forum is for help with the AdWords API. We have a separate forum for help with AdWords Scripts . Please try asking your question there. Regards, Mike, AdWords API Team On Thursday, November 20, 2014 11:54:18 AM UTC-5, jitend

Re: Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

2014-11-20 Thread eric haberman
Mike it appears that my MCC account cannot access my MCC account :) Or am I missing a step where I need to authorize my MCC client ID with the same accounts developer and refresh tokens? If so, any idea how to go about doing that? Thanks! On Thursday, November 20, 2014 1:25:16 PM UTC-6, Michae

Re: CRITERIA PERFORMANCE REPORT is empty

2014-11-20 Thread Josh Radcliff (AdWords API Team)
Hi Aram, Could you provide the exact report request (field names, predicates, date range) that you are submitting that does not return any data? I just ran Criteria Performance Reports for that account *excluding* zero impressions for THIS_MONTH and received many rows back, both with and withou

Relatórios AdHoc em XML

2014-11-20 Thread agencia . f2f
Ola pessoal, Sou novo no Forum e estou precisando da ajuda de alguma boa alma... hehehehe Estou fazendo o download de um relatório em XML e preciso converter os dados de retorno em um objeto. Alguém tem um exemplo para facilitar minha vida? Como seria a estrutura da classe que devo criar? Valeu

Re: Display URL vs Landing URL for new Ads?

2014-11-20 Thread Josh Radcliff (AdWords API Team)
Hi, For policy questions, please contact the Policy team via this link . Thanks, Josh, AdWords API Team On Thursday, November 20, 2014 10:24:00 AM UTC-5, apiapi wrote: > > > > > I will have a need to create several dozen ads for multiple

Re: Criteria Performance Report stop working since Octuber 27

2014-11-20 Thread Josh Radcliff (AdWords API Team)
Hi, Could you send over a sample campaign ID for which you are getting an empty response? Thanks, Josh, AdWords API Team On Thursday, November 20, 2014 10:55:58 AM UTC-5, Oscar Martinez wrote: > > Hi all, > > I have a Marketing Report that executes different requests to different > API report

Re: Criteria Performance Report stop working since Octuber 27

2014-11-20 Thread Oscar Martinez
Hi Josh, You can try with: 21831951 and 128445621 On Thursday, November 20, 2014 9:55:58 AM UTC-6, Oscar Martinez wrote: > > Hi all, > > I have a Marketing Report that executes different requests to different > API reports. We get, for example, CriteriaType (selector) from Criteria > Performa

Re: Error thrown while using Adwords API using Test MCC account and developer token generated from production MCC account

2014-11-20 Thread Josh Radcliff (AdWords API Team)
Hi, You may want to check out the discussion on the related closed issue for the Java client library. That NullPointerException means that your request is failing, probably due to missing parameters in your ~/ads.properties file. Are

MCC's own client ID Access Denied - Using same account's secret and refresh token

2014-11-20 Thread eric haberman
Hello, I'm getting the error: AuthorizationError. USER_PERMISSION_DENIED The MCC client ID (581-880-2635), developers token, and Google Developers Console refresh token and secret are all from the same account. (refresh token authorized in the same browser as the MCC account is logged into)

Re: Criteria Performance Report stop working since Octuber 27

2014-11-20 Thread Josh Radcliff (AdWords API Team)
Hi Oscar, Please try adding at least one metric field (such as *Impressions*) to your report and let me know if that resolves the problem. Thanks, Josh, AdWords API Team On Thursday, November 20, 2014 4:25:23 PM UTC-5, Oscar Martinez wrote: > > Hi Josh, > > You can try with: 21831951 and 12844

Re: V201409, How to get a full list of accounts via ManagedCustomerService

2014-11-20 Thread Josh Radcliff (AdWords API Team)
Hi, You can get the full list of accounts under an MCC by setting clientCustomerId to your *MCC*'s customer ID and running the GetAccountHierarchy.java

Re: MCC's own client ID Access Denied - Using same account's secret and refresh token

2014-11-20 Thread Josh Radcliff (AdWords API Team)
Hi, Looking at your failed requests, the underlying errors suggest that perhaps you are not passing an access token in your Authorization header. Could you check your logs and confirm that the *Authorization* header is

Re: Invalid Token Header

2014-11-20 Thread htang5555
Hey Michael, I am doing the Soap requests in node JS therefore using a node js client for this and not one of the ones provided. var url='https://adwords.google.com/api/adwords/mcm/v201409/CustomerService?wsdl'; soap.createClient(url,function(err,client) { client.addSoapHeader({RequestHeader

Re: MCC's own client ID Access Denied - Using same account's secret and refresh token

2014-11-20 Thread eric haberman
You're the man Josh! I'm using the PHP library, I thought the library handled the access token? Any pointers on where to find an example of this in PHP, I can't find anything in the examples repo? (no worries if not, I can figure it out) Thanks! On Thursday, November 20, 2014 4:03:55 PM

Re: MCC's own client ID Access Denied - Using same account's secret and refresh token

2014-11-20 Thread eric haberman
Thanks Josh, you're the man! I'm using the PHP library, I can't find an example for generating the access token (sorry, I took over this code from someone else in the company) Any tips? On Thursday, November 20, 2014 4:03:55 PM UTC-6, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > Looking

Re: MCC's own client ID Access Denied - Using same account's secret and refresh token

2014-11-20 Thread eric haberman
Here is my request from the log, it looks like the access token is NOT being sent by the PHP library, though I am sending the 'access_token' in the $oauth2Info array when instantiating the AdWordsUser: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="https://adwords.google.com/api/adword

Re: MCC's own client ID Access Denied - Using same account's secret and refresh token

2014-11-20 Thread eric haberman
*Here is a var_dump of the $user object's header elements:* ["requestHeaderElements":"AdsUser":private]=> array(4) {["userAgent"]=> string(94) "deleted:targetfinder:v1.9 (AwApi-PHP/5.2.3, Common-PHP/5.2.3, PHP/5.3.10-1ubuntu3.14)"["clientCustomerId"]=>string(12) "581-880-2635"

Re: MCC's own client ID Access Denied - Using same account's secret and refresh token

2014-11-20 Thread eric haberman
Resolved! Thank you for your help. The problem was a fluke caused by a locked file not being overwritten, after I updated the library using CLI instead of dragndrop, it worked fine. On Thursday, November 20, 2014 6:24:40 PM UTC-6, eric haberman wrote: > > *Here is a var_dump of the $user object