Re: Creating a copy of Campaign when I'm creating the criterion I recibe the error "Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element ns1:lhsOperand."

2018-06-04 Thread Raul Pinedo


El viernes, 25 de mayo de 2018, 5:21:49 (UTC-5), Raul Pinedo escribió:
>
> Hi 
>
> I'm creating a copy of a campaign that I had, but when I'm creating the 
> criterion for the campaign I get this error, Do you know why this could be? 
>
> I'm using the PHP Libs.
>
> *"google/apiclient": "^2.2",*
> *"googleads/googleads-php-lib": "^33.1",*
>
>
> The error is: Unmarshalling Error: cvc-type.2: The type definition cannot 
> be abstract for element ns1:lhsOperand.
>
>
> Thank you for your answer.
>
>
thnks Dhanya I already found the error, it was my mistake, because I send a 
null instead of an array for a property object.  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ca8c8d02-2518-4a70-99d5-bb7c7c9120ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP Adwords API - refresh_token authorization

2018-06-04 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Nik, 

For the PHP client library, it is highly recommended that you use 
adsapi_php.ini file to set the OAuth2 credentials. If you don't want to or 
can't use one, you can use the OAuth2 token and ads session builders 
instead to set the same information. Please check this guide 
 for more 
information. Once you have these credentials set up, you will be able to 
run the code samples listed here 

. 

Let me know if you have any other questions. 

Regards,
Bharani, AdWords API Team

On Monday, June 4, 2018 at 2:02:00 PM UTC-4, nnik wrote:
>
> Hi folks, 
>
> I want to ask the adwords api to request my campaigns.
>
> I am using this simple example:
>
> $redirectUri = 'http://xxx/dashboard/accounts/oauth2callback';
> $code = $_GET['code'];
>
> $oauth2 = new OAuth2([
> 'authorizationUri' => 'https://accounts.google.com/o/oauth2/v2/auth',
> 'tokenCredentialUri' => 'https://www.googleapis.com/oauth2/v4/token',
> 'redirectUri' => $redirectUri,
> 'clientId' => $this->client_id,
> 'clientSecret' => $this->client_secret,
> 'scope' => ''
> ]);
>
> $oauth2->setCode($code);
> $authToken = $oauth2->fetchAuthToken();
>
> // Store the refresh token for your user in your local storage if you
> // requested offline access.
> $refreshToken = $authToken['refresh_token'];
> Now I have the access_token and the refresh_token.
>
> How can I use this to request google adwords now? When I am checking this 
> example: 
> https://developers.google.com/adwords/api/docs/samples/php/basic-operations
>
> The authentication data is coming from some local file, but I have the 
> data in my array above and the tokens are coming from the DB. 
>
> Thanks
> Nik
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f20bd115-051e-4ec0-8107-cf38d162b43d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Users suddenly getting errors for [AuthorizationError.CUSTOMER_NOT_ACTIVE @ ; trigger:‘’]

2018-06-04 Thread Alon Diamant
Hi there,

The case is the following:

User u...@gmail.com has admin access to two customer accounts:
Manager Account M
Client Account C, which is in "setup mode"

It also happens to be that Manager Account M manages a Client Account X. 
Both M and X are completely valid, and work fine via UI, no warnings, 
notifications or alerts.

When making the call above, however, we get the CUSTOMER_NOT_ACTIVE error.

I'm sending you the SOAP logs in private.

Alon

On Monday, June 4, 2018 at 11:36:53 PM UTC+3, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Alon, 
>
> To clarify, are you saying that a user who has access to an active manager 
> account, which also happens to manage a client account that is currently in 
> "Setup in progress" status is getting CUSTOMER_NOT_ACTIVE (while performing 
> CustomerService.getCustomers() 
> )?
>  
> If your API call is against an account which is not currently active, you 
> are expected to see this error as described in the blog 
> .
>  
> If this is not the case, could you please share the SOAP logs and the email 
> Id of the user authenticating the API call?
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/626beba5-fc6d-46fd-9071-5b7a14ee5c27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Users suddenly getting errors for [AuthorizationError.CUSTOMER_NOT_ACTIVE @ ; trigger:‘’]

2018-06-04 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Alon, 

To clarify, are you saying that a user who has access to an active manager 
account, which also happens to manage a client account that is currently in 
"Setup in progress" status is getting CUSTOMER_NOT_ACTIVE (while performing 
CustomerService.getCustomers() 
)?
 
If your API call is against an account which is not currently active, you 
are expected to see this error as described in the blog 
.
 
If this is not the case, could you please share the SOAP logs and the email 
Id of the user authenticating the API call?

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/224b0dab-2e61-4eb3-8aea-e3b01916fa88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread Soufiane Ghzal
We are in the exact same case as Alon reported. No customer id specified, 
working account. If you have any details under those conditions, I would be 
grateful you to share the fix in public rather than in private.

Thanks


Le lundi 4 juin 2018 22:10:04 UTC+2, Alon Diamant a écrit :
>
> We're doing the most basic of calls:
>
> adwordsClient = getAdwordsClient(refreshToken, clientCustomerId=None)
> customerService = adwordsClient.GetService('CustomerService', 
> version='v201802')
> accounts = customerService.getCustomers()
>
>
> which is just getting a list of customer accounts, without setting the 
> clientCustomerId.
>
> The situation is: 
> 1. Normal Google user (Gmail)
> 2. Has an MA which is active, valid and managing a CA
> 3. Has a CA which is "In Setup" and has been for weeks now, setup was 
> aborted.
>
> Making the request above causes the CUSTOMER_NOT_ACTIVE error.
>
> I'm sending the SOAP logs in private.
>
> Alon
>
>
> On Monday, June 4, 2018 at 11:04:02 PM UTC+3, Milind Sankeshware (AdWords 
> API Team) wrote:
>>
>> Hi, 
>>
>> If the API calls are being made against an account which is cancelled, 
>> those calls will fail with the error as described in this blog post 
>> .
>>  
>> If this is not the case, could you please share the SOAP logs of the 
>> failing API call along with the email Id of the user making this call? 
>>
>> Thanks,
>> Milind, AdWords API Team.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f2674121-319a-4f4c-a9ab-a80186c3608a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread Alon Diamant
We're doing the most basic of calls:

adwordsClient = getAdwordsClient(refreshToken, clientCustomerId=None)
customerService = adwordsClient.GetService('CustomerService', version='v201802')
accounts = customerService.getCustomers()


which is just getting a list of customer accounts, without setting the 
clientCustomerId.

The situation is: 
1. Normal Google user (Gmail)
2. Has an MA which is active, valid and managing a CA
3. Has a CA which is "In Setup" and has been for weeks now, setup was 
aborted.

Making the request above causes the CUSTOMER_NOT_ACTIVE error.

I'm sending the SOAP logs in private.

Alon


On Monday, June 4, 2018 at 11:04:02 PM UTC+3, Milind Sankeshware (AdWords 
API Team) wrote:
>
> Hi, 
>
> If the API calls are being made against an account which is cancelled, 
> those calls will fail with the error as described in this blog post 
> .
>  
> If this is not the case, could you please share the SOAP logs of the 
> failing API call along with the email Id of the user making this call? 
>
> Thanks,
> Milind, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b4bc57b6-dcd3-46ea-ad7c-84cfafc2c6cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread Soufiane Ghzal
Hi Milind,

On my side I'm not able to send you any details concerning the account id. 
I'm repported that someone with admin access in the MCC account wont be 
able to call getCustomers method. Does it help? I more looking in a general 
fix because it's affecting a lot of our users.


Le lundi 4 juin 2018 22:04:02 UTC+2, Milind Sankeshware (AdWords API Team) 
a écrit :
>
> Hi, 
>
> If the API calls are being made against an account which is cancelled, 
> those calls will fail with the error as described in this blog post 
> .
>  
> If this is not the case, could you please share the SOAP logs of the 
> failing API call along with the email Id of the user making this call? 
>
> Thanks,
> Milind, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/84f7eebe-5341-4333-8bbb-7e1564083b28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, 

If the API calls are being made against an account which is cancelled, 
those calls will fail with the error as described in this blog post 
.
 
If this is not the case, could you please share the SOAP logs of the 
failing API call along with the email Id of the user making this call? 

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c47e1bdc-8d22-4602-9a05-8e1cad9370a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread Alon Diamant
We're also receiving this error, with many users, among them a Google 
Account which is linked to an MA (valid, active) and a CA (in setup). The 
MA is not returned, instead - an HTTP 500 error is returned.

On Monday, June 4, 2018 at 9:26:11 PM UTC+3, MT wrote:
>
> We are seeing the same with many of our users, please look into this.
>
> On Monday, 4 June 2018 21:02:10 UTC+3, Soufiane Ghzal wrote:
>>
>> Hi,
>>
>> Are there any further details on this issue? We are getting the same one 
>> with multiple customer that do have activity on their accounts.
>>
>> Le vendredi 1 juin 2018 10:26:44 UTC+2, Stefano Fontana a écrit :
>>>
>>> Thanks for you answer Milind, however in my previous message I specified 
>>> that the MCC contains an account that is actively delivering ads so there 
>>> clearly something wrong.
>>> Will provide logs privately.
>>>
>>> On Thursday, May 31, 2018 at 11:25:56 PM UTC+2, Milind Sankeshware 
>>> (AdWords API Team) wrote:

 Hi,

 I am afraid, if the AdWords account reaches 15 months without any 
 spend, it will be canceled. If the target account that you are making your 
 API calls against is not active then you are likely to get 
 AuthorizationError.CUSTOMER_NOT_ACTIVE error. Please check the blog 
 
  
 for more details about automatically canceled accounts. Could you please 
 share the compete SOAP request and response so that I can troubleshoot the 
 issue? Please use *Reply privately to author* option while responding.

 Thanks,
 Milind, AdWords API Team.

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5121bd93-96da-4615-b630-5949b7c6dae4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: mismatch with Adword UI report with that of ADword API call

2018-06-04 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Sharad,

Could you please share the report definition along with client customer id 
and screenshot of AdWords UI with which you were comparing the data? You 
could choose "*Reply privately to author*" option while responding. 

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/293f0f6a-bff4-4249-ab6f-32ca552bd243%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerService.getCustomers returns AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread Alon Diamant
We are also affected by this issue, indeed, calling 
CustomerService.getCustomers() without setting a clientCustomerId.
Replying to receive updates.

On Monday, June 4, 2018 at 9:41:19 PM UTC+3, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi Timm,
>
> Thank you for the details. We are looking into this issue and will post on 
> this thread as soon as we have an update.
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2b1d5157-f5a8-4d9d-8d67-71459646123d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Urgent Bug: AuthorizationError.CUSTOMER_NOT_ACTIVE error for whole hierarchy even if 1 account is inactive

2018-06-04 Thread Alon Diamant
Hi there

We are also getting these errors. It started around 4-5 days ago.
None of the ad accounts we have are older than 15 months, most of them are 
(perhaps) a month old.

One example we've seen is a Google account which is an Admin in an AdWords 
Manager Account, which is valid and works as expected. It manages a Client 
Account that was created by another MA.
Also, a single Client Account (perhaps created before the Manager Account, 
perhaps after, but indeed created by the same Google account) is shown in 
the account selection UI as "Setup in progress".
This account setup process was started and aborted days if not weeks ago, 
and was never finished.

Calling the CustomerService (v201802) immediately returns an HTTP 500 
error, with code:

'[AuthorizationError.CUSTOMER_NOT_ACTIVE @ ; trigger:\\'\\']'

This is the code (Python):

adwordsClient = getAdwordsClient(refreshToken, clientCustomerId=None)
customerService = adwordsClient.GetService('CustomerService', version='v201802')
accounts = customerService.getCustomers()


So really, nothing special in the code. Not asking for a specific CA, just 
for the directly accessible customer accounts.
Thing is, the "Account in Setup" CA blocks us from seeing the MA which is 
completely valid.

This seems like the bug reported by MG.
Any way we can help?

Thanks,

Alon


On Monday, June 4, 2018 at 9:46:07 PM UTC+3, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi MG,
>
> Thank you for letting us know. We are looking at this issue and will reply 
> on this thread as soon as we have an update. 
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1958e2f1-55c3-444f-af13-fa6487f2ea75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Users suddenly getting errors for [AuthorizationError.CUSTOMER_NOT_ACTIVE @ ; trigger:‘’]

2018-06-04 Thread Alon Diamant
Hi there Sreelakshmi,

We are also getting these errors. It started around 4-5 days ago.
None of these ad accounts are older than 15 months, most of them are 
(perhaps) a month old.

One example we've seen is a Google account which is an Admin in an AdWords 
Manager Account, which is valid and works as expected. It manages a Client 
Account that was created by another MA.
Also, a single Client Account (perhaps created before the Manager Account, 
perhaps after, but indeed created by the same Google account) is shown in 
the account selection UI as "Setup in progress".
This account setup process was started and aborted days if not weeks ago, 
and was never finished.

Calling the CustomerService (v201802) immediately returns an HTTP 500 
error, with code:

'[AuthorizationError.CUSTOMER_NOT_ACTIVE @ ; trigger:\\'\\']'

This is the code (Python):

adwordsClient = getAdwordsClient(refreshToken, clientCustomerId=None)
customerService = adwordsClient.GetService('CustomerService', version='v201802')
accounts = customerService.getCustomers()


So really, nothing special in the code. Not asking for a specific CA, just 
for the directly accessible customer accounts.
Thing is, the "Account in Setup" CA blocks us from seeing the MA which is 
completely valid.

This seems like a bug. How can I report it?

Thanks,

Alon


On Thursday, May 31, 2018 at 8:55:24 PM UTC+3, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Jessica, 
>
> Could you please confirm if the AdWords account against which you are 
> making the API calls has reached 15 months without any spend? If so, as per 
> our announcement earlier, such accounts will be cancelled and the API 
> requests against those accounts will fail. Please check this blog 
> 
>  post 
> for more details. If this is not the case, could you please share the 
> client customer Id of the account which is failing? I can take a closer 
> look. 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cc5696d3-8961-4dae-a4d6-2cb26454b95a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown. OperationAccessDeniedReason.ACTION_NOT_PERMITTED. (Error: OperationAccessDenied.ACTION_NOT_PERMITTED)

2018-06-04 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Scott,

To investigate more on this issue, cloud you please share the entire SOAP 
logs(request and response) along with the email id that is used to 
authorize the API calls? 

Regards,
Sai Teja, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ccb3e2d7-2f46-4106-a60a-1ba18b10ae4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Urgent Bug: AuthorizationError.CUSTOMER_NOT_ACTIVE error for whole hierarchy even if 1 account is inactive

2018-06-04 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi MG,

Thank you for letting us know. We are looking at this issue and will reply 
on this thread as soon as we have an update. 

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bd75286a-573f-4251-b2a3-9e51cd97547e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerService.getCustomers returns AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Timm,

Thank you for the details. We are looking into this issue and will post on 
this thread as soon as we have an update.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5176022e-6932-4ab2-b411-c43ac3339db1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread MT
We are seeing the same with many of our users, please look into this.

On Monday, 4 June 2018 21:02:10 UTC+3, Soufiane Ghzal wrote:
>
> Hi,
>
> Are there any further details on this issue? We are getting the same one 
> with multiple customer that do have activity on their accounts.
>
> Le vendredi 1 juin 2018 10:26:44 UTC+2, Stefano Fontana a écrit :
>>
>> Thanks for you answer Milind, however in my previous message I specified 
>> that the MCC contains an account that is actively delivering ads so there 
>> clearly something wrong.
>> Will provide logs privately.
>>
>> On Thursday, May 31, 2018 at 11:25:56 PM UTC+2, Milind Sankeshware 
>> (AdWords API Team) wrote:
>>>
>>> Hi,
>>>
>>> I am afraid, if the AdWords account reaches 15 months without any spend, 
>>> it will be canceled. If the target account that you are making your API 
>>> calls against is not active then you are likely to get 
>>> AuthorizationError.CUSTOMER_NOT_ACTIVE error. Please check the blog 
>>> 
>>>  
>>> for more details about automatically canceled accounts. Could you please 
>>> share the compete SOAP request and response so that I can troubleshoot the 
>>> issue? Please use *Reply privately to author* option while responding.
>>>
>>> Thanks,
>>> Milind, AdWords API Team.
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fe074f71-15b9-472e-acaf-28a25d2b9fa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PHP Adwords API - refresh_token authorization

2018-06-04 Thread nnik
Hi folks, 

I want to ask the adwords api to request my campaigns.

I am using this simple example:

$redirectUri = 'http://xxx/dashboard/accounts/oauth2callback';
$code = $_GET['code'];

$oauth2 = new OAuth2([
'authorizationUri' => 'https://accounts.google.com/o/oauth2/v2/auth',
'tokenCredentialUri' => 'https://www.googleapis.com/oauth2/v4/token',
'redirectUri' => $redirectUri,
'clientId' => $this->client_id,
'clientSecret' => $this->client_secret,
'scope' => ''
]);

$oauth2->setCode($code);
$authToken = $oauth2->fetchAuthToken();

// Store the refresh token for your user in your local storage if you
// requested offline access.
$refreshToken = $authToken['refresh_token'];
Now I have the access_token and the refresh_token.

How can I use this to request google adwords now? When I am checking this 
example: 
https://developers.google.com/adwords/api/docs/samples/php/basic-operations

The authentication data is coming from some local file, but I have the data 
in my array above and the tokens are coming from the DB. 

Thanks
Nik

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6e2b7b7e-bac1-4705-b624-be675533f431%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread Soufiane Ghzal
Hi,

Are there any further details on this issue? We are getting the same one 
with multiple customer that do have activity on their accounts.

Le vendredi 1 juin 2018 10:26:44 UTC+2, Stefano Fontana a écrit :
>
> Thanks for you answer Milind, however in my previous message I specified 
> that the MCC contains an account that is actively delivering ads so there 
> clearly something wrong.
> Will provide logs privately.
>
> On Thursday, May 31, 2018 at 11:25:56 PM UTC+2, Milind Sankeshware 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> I am afraid, if the AdWords account reaches 15 months without any spend, 
>> it will be canceled. If the target account that you are making your API 
>> calls against is not active then you are likely to get 
>> AuthorizationError.CUSTOMER_NOT_ACTIVE error. Please check the blog 
>> 
>>  
>> for more details about automatically canceled accounts. Could you please 
>> share the compete SOAP request and response so that I can troubleshoot the 
>> issue? Please use *Reply privately to author* option while responding.
>>
>> Thanks,
>> Milind, AdWords API Team.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0dff5ceb-cb94-4ab9-ab83-cb4fc71552bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown. OperationAccessDeniedReason.ACTION_NOT_PERMITTED. (Error: OperationAccessDenied.ACTION_NOT_PERMITTED)

2018-06-04 Thread scott . gray
Hello,

We are suddenly experiencing error Exception of type 
'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown. 
OperationAccessDeniedReason.ACTION_NOT_PERMITTED. (Error: 
OperationAccessDenied.ACTION_NOT_PERMITTED)  when attempting to pull data.
The issue started suddenly yesterday with no changes on our end.

Please help. 

Scott

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f1580e72-2f0a-4683-a5f9-b19746849e32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


mismatch with Adword UI report with that of ADword API call

2018-06-04 Thread Sharad
Hi,

We have mismatch between adword UI report to that with adword API call, 
there is mismatch in one column called cost.
Can you help?

Thanks,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/528d76eb-1c38-4ae3-a2ff-1e84df95b018%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Urgent Bug: AuthorizationError.CUSTOMER_NOT_ACTIVE error for whole hierarchy even if 1 account is inactive

2018-06-04 Thread AdWordsApiUser
I just replied privately to you.

On Monday, June 4, 2018 at 6:08:40 PM UTC+2, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi MG,
>
> In order to troubleshoot further, could you please reply back with the 
> emailid used for API call, the target MCC id and client customer id of an 
> inactive account?
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5eaa7976-3799-4381-91cf-d6b3dfcd4492%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerService CUSTOMER_NOT_FOUND error

2018-06-04 Thread Timm Janssen
Hi,

I had the same issue using v201710, with v201802 it's a CUSTOMER_NOT_ACTIVE 
error, 
see 
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/adwords-api/uSomm1x4nKw/YhjSkLMbAQAJ

Moreover the Java library doesn't seem to be affected.

Thanks,
Timm

On Monday, June 4, 2018 at 5:59:53 PM UTC+2, Tiana S. wrote:
>
> Hi Josh,
>
> I'm having the same issue. Please let me know if you have an update. I can 
> of course also provide more info on our requests privately.
>
> Kind regards,
>
> Tiana
>
> On Thursday, 5 April 2018 15:15:58 UTC+2, Josh Radcliff (AdWords API Team) 
> wrote:
>>
>> Hi Oksana,
>>
>> We're still trying to track this one down. Do you happen to have an 
>> example of a request where you encountered this error within the last 5 
>> days? If so, could you *Reply privately to author* on this post and 
>> provide me with the following?
>>
>>1. The date and time of the request, including timezone
>>2. The user whose OAuth credentials were used for the request
>>3. The client customer IDs you expected to receive for that user
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, March 13, 2018 at 9:53:29 AM UTC-4, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> The engineering team is looking into this in more detail, and I hope to 
>>> have an update soon. I'll post back here once that happens.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Monday, March 12, 2018 at 8:17:14 AM UTC-4, Oksana Sulyma wrote:

 Hi guys, bumping this thread as mentioned issue still exist. We had 
 correspondence in private mode, please let me know if there are any ideas 
 why we might get this error.. Thanks!

 On Friday, January 19, 2018 at 6:46:58 PM UTC+2, Bharani Cherukuri 
 (AdWords API Team) wrote:
>
> Hello Okasana, 
>
> The CUSTOMER_NOT_FOUND 
> 
>  error 
> is received when the ID specified in the request header does not exist. I 
> see that you're using the CustomerService.getCustomers() 
> ,
>  
> which will return all the customers directly accessible by the user 
> authenticating the call. If the account specified is a new account, it is 
> recommended that you wait a few minutes after the account is created 
> before 
> issuing requests against it. Could you please recheck the credentials 
> used 
> if they belong to the valid AdWords account user and try the request 
> again? 
> If you continue to have an issue with this, could you share us the email 
> address used to authenticate the API call? Please use *Reply 
> privately to author* option to provide the details. 
>
> Regards,
> Bharani, AdWords API Team
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6b0ffe90-e523-4dcc-9816-cb2cf349eec5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerService.getCustomers returns AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-06-04 Thread Timm Janssen
HI,

just replied privately, however this seems to be connected 
with 
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/adwords-api/v2bkyJiT62E
 
(got the same error message before bumping the API version to v201802)

Thanks
Timm

On Tuesday, May 29, 2018 at 9:17:13 PM UTC+2, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi Timm,
>
> If you are trying to get the list of customers to which your OAuth has 
> access, then you can use the CustomerService.getCustomers() 
> 
>  without 
> setting a clientcustomerid. Else, if you are trying to get the list of 
> customers under a MCC, then you will need to set the clientcustomerid as 
> the MCC id, and then do a ManagedCustomerService.get 
> ().
>  
> When you do a check on your access against a client customer id that is not 
> active, you will get the error AuthorizationError.CUSTOMER_NOT_ACTIVE. In 
> order to troubleshoot further, could you please reply back with the 
> complete SOAP logs including request and response with data NOT redacted? 
> You may opt to *reply privately to author*.
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7cb5987a-de13-401a-87f9-f927770b091b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Urgent Bug: AuthorizationError.CUSTOMER_NOT_ACTIVE error for whole hierarchy even if 1 account is inactive

2018-06-04 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi MG,

In order to troubleshoot further, could you please reply back with the 
emailid used for API call, the target MCC id and client customer id of an 
inactive account?

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/35b53f59-0f21-4952-9f07-d8b1cb5ae168%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerService CUSTOMER_NOT_FOUND error

2018-06-04 Thread Tiana S.
Hi Josh,

I'm having the same issue. Please let me know if you have an update. I can 
of course also provide more info on our requests privately.

Kind regards,

Tiana

On Thursday, 5 April 2018 15:15:58 UTC+2, Josh Radcliff (AdWords API Team) 
wrote:
>
> Hi Oksana,
>
> We're still trying to track this one down. Do you happen to have an 
> example of a request where you encountered this error within the last 5 
> days? If so, could you *Reply privately to author* on this post and 
> provide me with the following?
>
>1. The date and time of the request, including timezone
>2. The user whose OAuth credentials were used for the request
>3. The client customer IDs you expected to receive for that user
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, March 13, 2018 at 9:53:29 AM UTC-4, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> The engineering team is looking into this in more detail, and I hope to 
>> have an update soon. I'll post back here once that happens.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, March 12, 2018 at 8:17:14 AM UTC-4, Oksana Sulyma wrote:
>>>
>>> Hi guys, bumping this thread as mentioned issue still exist. We had 
>>> correspondence in private mode, please let me know if there are any ideas 
>>> why we might get this error.. Thanks!
>>>
>>> On Friday, January 19, 2018 at 6:46:58 PM UTC+2, Bharani Cherukuri 
>>> (AdWords API Team) wrote:

 Hello Okasana, 

 The CUSTOMER_NOT_FOUND 
 
  error 
 is received when the ID specified in the request header does not exist. I 
 see that you're using the CustomerService.getCustomers() 
 ,
  
 which will return all the customers directly accessible by the user 
 authenticating the call. If the account specified is a new account, it is 
 recommended that you wait a few minutes after the account is created 
 before 
 issuing requests against it. Could you please recheck the credentials used 
 if they belong to the valid AdWords account user and try the request 
 again? 
 If you continue to have an issue with this, could you share us the email 
 address used to authenticate the API call? Please use *Reply privately 
 to author* option to provide the details. 

 Regards,
 Bharani, AdWords API Team

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7c2f57fc-3344-423a-b59f-ef200bf3c979%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobService not returning downloadUrl

2018-06-04 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello,

Can you provide the full SOAP request/response for that particular batch 
job? You can reply privately to me using the arrow at the top-right of my 
post.

Regards,
Mike, AdWords API Team

On Monday, June 4, 2018 at 8:29:51 AM UTC-4, wes...@channable.com wrote:
>
> Hi Michael,
>
> I think most of the issues we had are solved. I am still seeing a few 
> batch jobs that when we download them.
>
> batch_job_id: 744483651
>
> This returns a "ParseResponse" (using the python adwors library) of:
>
> {'mutateResponse': {'@xmlns': 
> 'https://adwords.google.com/api/adwords/cm/v201802'}}
>
>
> We expect there to be an `rval` key within the `mutateResponse`. This is 
> usually where we get the data from the URL from.
>
> Any advice there?
>
>
> On Monday, June 4, 2018 at 1:54:48 PM UTC+2, Michael Cloonan (AdWords API 
> Team) wrote:
>>
>> Hello,
>>
>> We made another pass regenerating download URLs, and they should no 
>> longer result in 404s. Please let me know if you are having any more 
>> difficulties.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Friday, June 1, 2018 at 4:22:40 PM UTC-4, GregT wrote:
>>>
>>> Thanks for the update, Mike. As I posted earlier, we were having around 
>>> 1,000 jobs a day have this issue. Looks like for the past day or two, we 
>>> haven't had any, so it's looking good. 
>>>
>>> Thanks,
>>> Greg
>>>
>>> On Friday, June 1, 2018 at 8:59:43 AM UTC-5, Michael Cloonan (AdWords 
>>> API Team) wrote:

 Hello,

 Thanks for letting me know. I've passed this information along to the 
 batch job team and will let you know as soon as I hear anything back. I 
 apologize for the inconvenience; obviously having a URL that results in a 
 404 is no better than having no URL at all, so I'm making sure that this 
 is 
 still at a high priority for us.

 Regards,
 Mike, AdWords API Team

 On Friday, June 1, 2018 at 9:35:20 AM UTC-4, wes...@channable.com 
 wrote:
>
> Hi Michael,
>
> We actually noticed that you regenerated, because now we are getting a 
> different error.
>
> For batch job id: 744483600, we now get a `downloadUrl`, but it 
> returns a 404. We have a few other batch jobs with the same problem.
>
> Another with the same issue:
> batch_job_id = 745104354
>
> If you need more, I can provide them.
>
>
> On Friday, June 1, 2018 at 3:02:30 PM UTC+2, Michael Cloonan (AdWords 
> API Team) wrote:
>>
>> Hello,
>>
>> We have regenerated download URLs for all jobs that had completed 
>> without one, and are working to improve our processes so that we can 
>> reduce 
>> the chance of this happening in the future.
>>
>> Please let me know if you still have any trouble retrieving the 
>> download URLs for your batch jobs, and please include any relevant batch 
>> job IDs for ones that aren't fixed so we can investigate.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Tuesday, May 29, 2018 at 7:29:06 AM UTC-4, Michael Cloonan 
>> (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> Thanks for the additional details. Since it seems to be more 
>>> widespread than just a one-off error, I've increased the priority 
>>> internally so that we can try to get to the bottom of this sooner.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Monday, May 28, 2018 at 7:56:20 AM UTC-4, wes...@channable.com 
>>> wrote:

 Also, the batch job id listed above was for only a few sent 
 operations. We have some that we have no dowloadUrl for that contain a 
 lot 
 more operations.

 batch job id 745031759 gave a response of

 'numOperationsExecuted': 2104, 'numOperationsSucceeded': 2104, 
 'estimatedPercentExecuted': 2147483647, 'numResultsWritten': 0

 but we still have no downloadUrl


 On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan 
 (AdWords API Team) wrote:
>
> Hello,
>
> That is strange; I will get in contact with the team in charge of 
> that service and see what we can do to get you the downloadUrl, and 
> also 
> investigate why this happened.
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, May 25, 2018 at 6:21:49 AM UTC-4, wes...@channable.com 
> wrote:
>>
>> We are heavy users of the Adwords API (on behalf of our customers) 
>> and are experiencing some issues with batch jobs.
>>
>> When we query the BatchJobService for a specific batch job id, we 
>> don't get a downloadUrl in the response. We were under the 
>> assumption that we should always get a downloadUrl from the response.
>>
>> We've had these issues before, but they have been exa

Re: BatchJobService not returning downloadUrl

2018-06-04 Thread wesley
Hi Michael,

I think most of the issues we had are solved. I am still seeing a few batch 
jobs that when we download them.

batch_job_id: 744483651

This returns a "ParseResponse" (using the python adwors library) of:

{'mutateResponse': {'@xmlns': 
'https://adwords.google.com/api/adwords/cm/v201802'}}


We expect there to be an `rval` key within the `mutateResponse`. This is 
usually where we get the data from the URL from.

Any advice there?


On Monday, June 4, 2018 at 1:54:48 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> We made another pass regenerating download URLs, and they should no longer 
> result in 404s. Please let me know if you are having any more difficulties.
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, June 1, 2018 at 4:22:40 PM UTC-4, GregT wrote:
>>
>> Thanks for the update, Mike. As I posted earlier, we were having around 
>> 1,000 jobs a day have this issue. Looks like for the past day or two, we 
>> haven't had any, so it's looking good. 
>>
>> Thanks,
>> Greg
>>
>> On Friday, June 1, 2018 at 8:59:43 AM UTC-5, Michael Cloonan (AdWords API 
>> Team) wrote:
>>>
>>> Hello,
>>>
>>> Thanks for letting me know. I've passed this information along to the 
>>> batch job team and will let you know as soon as I hear anything back. I 
>>> apologize for the inconvenience; obviously having a URL that results in a 
>>> 404 is no better than having no URL at all, so I'm making sure that this is 
>>> still at a high priority for us.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Friday, June 1, 2018 at 9:35:20 AM UTC-4, wes...@channable.com wrote:

 Hi Michael,

 We actually noticed that you regenerated, because now we are getting a 
 different error.

 For batch job id: 744483600, we now get a `downloadUrl`, but it returns 
 a 404. We have a few other batch jobs with the same problem.

 Another with the same issue:
 batch_job_id = 745104354

 If you need more, I can provide them.


 On Friday, June 1, 2018 at 3:02:30 PM UTC+2, Michael Cloonan (AdWords 
 API Team) wrote:
>
> Hello,
>
> We have regenerated download URLs for all jobs that had completed 
> without one, and are working to improve our processes so that we can 
> reduce 
> the chance of this happening in the future.
>
> Please let me know if you still have any trouble retrieving the 
> download URLs for your batch jobs, and please include any relevant batch 
> job IDs for ones that aren't fixed so we can investigate.
>
> Regards,
> Mike, AdWords API Team
>
> On Tuesday, May 29, 2018 at 7:29:06 AM UTC-4, Michael Cloonan (AdWords 
> API Team) wrote:
>>
>> Hello,
>>
>> Thanks for the additional details. Since it seems to be more 
>> widespread than just a one-off error, I've increased the priority 
>> internally so that we can try to get to the bottom of this sooner.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Monday, May 28, 2018 at 7:56:20 AM UTC-4, wes...@channable.com 
>> wrote:
>>>
>>> Also, the batch job id listed above was for only a few sent 
>>> operations. We have some that we have no dowloadUrl for that contain a 
>>> lot 
>>> more operations.
>>>
>>> batch job id 745031759 gave a response of
>>>
>>> 'numOperationsExecuted': 2104, 'numOperationsSucceeded': 2104, 
>>> 'estimatedPercentExecuted': 2147483647, 'numResultsWritten': 0
>>>
>>> but we still have no downloadUrl
>>>
>>>
>>> On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan 
>>> (AdWords API Team) wrote:

 Hello,

 That is strange; I will get in contact with the team in charge of 
 that service and see what we can do to get you the downloadUrl, and 
 also 
 investigate why this happened.

 Regards,
 Mike, AdWords API Team

 On Friday, May 25, 2018 at 6:21:49 AM UTC-4, wes...@channable.com 
 wrote:
>
> We are heavy users of the Adwords API (on behalf of our customers) 
> and are experiencing some issues with batch jobs.
>
> When we query the BatchJobService for a specific batch job id, we 
> don't get a downloadUrl in the response. We were under the assumption 
> that we should always get a downloadUrl from the response.
>
> We've had these issues before, but they have been exacerbated in the 
> last two days.
>
> Concretely, we are using the BatchJobService to send BatchJob's to 
> e.g. create new campaigns, adgroups, ads etc.
>
> Here are the API docs for it: 
> https://developers.google.com/adwords/api/docs/reference/v201802/BatchJobService.BatchJob
> The docs indicate that the field 'downloadUrl' is *always* present in 
> a response

Re: BatchJobService not returning downloadUrl

2018-06-04 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello,

We made another pass regenerating download URLs, and they should no longer 
result in 404s. Please let me know if you are having any more difficulties.

Regards,
Mike, AdWords API Team

On Friday, June 1, 2018 at 4:22:40 PM UTC-4, GregT wrote:
>
> Thanks for the update, Mike. As I posted earlier, we were having around 
> 1,000 jobs a day have this issue. Looks like for the past day or two, we 
> haven't had any, so it's looking good. 
>
> Thanks,
> Greg
>
> On Friday, June 1, 2018 at 8:59:43 AM UTC-5, Michael Cloonan (AdWords API 
> Team) wrote:
>>
>> Hello,
>>
>> Thanks for letting me know. I've passed this information along to the 
>> batch job team and will let you know as soon as I hear anything back. I 
>> apologize for the inconvenience; obviously having a URL that results in a 
>> 404 is no better than having no URL at all, so I'm making sure that this is 
>> still at a high priority for us.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Friday, June 1, 2018 at 9:35:20 AM UTC-4, wes...@channable.com wrote:
>>>
>>> Hi Michael,
>>>
>>> We actually noticed that you regenerated, because now we are getting a 
>>> different error.
>>>
>>> For batch job id: 744483600, we now get a `downloadUrl`, but it returns 
>>> a 404. We have a few other batch jobs with the same problem.
>>>
>>> Another with the same issue:
>>> batch_job_id = 745104354
>>>
>>> If you need more, I can provide them.
>>>
>>>
>>> On Friday, June 1, 2018 at 3:02:30 PM UTC+2, Michael Cloonan (AdWords 
>>> API Team) wrote:

 Hello,

 We have regenerated download URLs for all jobs that had completed 
 without one, and are working to improve our processes so that we can 
 reduce 
 the chance of this happening in the future.

 Please let me know if you still have any trouble retrieving the 
 download URLs for your batch jobs, and please include any relevant batch 
 job IDs for ones that aren't fixed so we can investigate.

 Regards,
 Mike, AdWords API Team

 On Tuesday, May 29, 2018 at 7:29:06 AM UTC-4, Michael Cloonan (AdWords 
 API Team) wrote:
>
> Hello,
>
> Thanks for the additional details. Since it seems to be more 
> widespread than just a one-off error, I've increased the priority 
> internally so that we can try to get to the bottom of this sooner.
>
> Regards,
> Mike, AdWords API Team
>
> On Monday, May 28, 2018 at 7:56:20 AM UTC-4, wes...@channable.com 
> wrote:
>>
>> Also, the batch job id listed above was for only a few sent 
>> operations. We have some that we have no dowloadUrl for that contain a 
>> lot 
>> more operations.
>>
>> batch job id 745031759 gave a response of
>>
>> 'numOperationsExecuted': 2104, 'numOperationsSucceeded': 2104, 
>> 'estimatedPercentExecuted': 2147483647, 'numResultsWritten': 0
>>
>> but we still have no downloadUrl
>>
>>
>> On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan (AdWords 
>> API Team) wrote:
>>>
>>> Hello,
>>>
>>> That is strange; I will get in contact with the team in charge of 
>>> that service and see what we can do to get you the downloadUrl, and 
>>> also 
>>> investigate why this happened.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Friday, May 25, 2018 at 6:21:49 AM UTC-4, wes...@channable.com 
>>> wrote:

 We are heavy users of the Adwords API (on behalf of our customers) and 
 are experiencing some issues with batch jobs.

 When we query the BatchJobService for a specific batch job id, we 
 don't get a downloadUrl in the response. We were under the assumption 
 that we should always get a downloadUrl from the response.

 We've had these issues before, but they have been exacerbated in the 
 last two days.

 Concretely, we are using the BatchJobService to send BatchJob's to 
 e.g. create new campaigns, adgroups, ads etc.

 Here are the API docs for it: 
 https://developers.google.com/adwords/api/docs/reference/v201802/BatchJobService.BatchJob
 The docs indicate that the field 'downloadUrl' is *always* present in 
 a response.

 We are using the `googleads` python library (version 10.1.0), with 
 adwords version `v201802`
  
 Here is an example of the selector we use

 selector = {
 'fields': ['Id', 'Status', 'DownloadUrl'],
 'predicates': [
 {
 'field': 'Id',
 'operator': 'EQUALS',
 'values': [batch_job_id]
 }
 ]
 }

 and an example `batch_job_id` we use is `745158738` (the client's 
 account id is available upon request)


Urgent Bug: AuthorizationError.CUSTOMER_NOT_ACTIVE error for whole hierarchy even if 1 account is inactive

2018-06-04 Thread AdWordsApiUser
Hello,

When pulling a list of accounts using ManagedCustomerService, the service 
is returning AuthorizationError.CUSTOMER_NOT_ACTIVE if the hierarchy 
contains even one inactive account (or that is what our observations is 
right now). The calls to individual accounts using the same oauth token 
work correctly. This is preventing our users from managing their accounts. 
Would appreciate a quick resolution.

Cheers,
MG

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b4c4babb-a839-4c62-bf0b-b63edf071afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.