RE: cannot create customer under child MCC

2020-11-25 Thread Google Ads API Forum Advisor Prod
Hi Lauren,

Thank you for reaching out. This error usually occurs when there is no link 
between the account authenticated in the request and the target account 
specified in the headers. As you are using the Google Ads API you need to 
include the login_customer_id in the header as mentioned in this blog post. 
Please use the email that has Standard or Admin Access to the manager account 
to generate the OAuth2 credentials and make the API call again.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q27wVA0:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/W9Ghq0QKDD8E00ZTG594ydTuqk4kab9IurGg%40sfdc.net.


cannot create customer under child MCC

2020-11-24 Thread 'Lauren Fu' via AdWords API and Google Ads API Forum
Hi Ads API support,

I have a master MCC 777-184-9643 with basic API access token.
And I also have a child MCC 916-749-8242.
I can get information under child MCC by ads api.
But when I tried to create new customer under child MCC,
I got error as below, is there anything I should do before CREATE api?
Thanks.



*Request made: ClientCustomerId: 9167498242, 
Host: googleads.googleapis.com:443 , 
Method: 
/google.ads.googleads.v5.services.CustomerService/CreateCustomerClient, 
RequestId: nM2JfKwbEfWUTAfy13zO5g, IsFault: True, FaultMessage: The user 
does not have permission to perform this action on the resource or call a 
method.Request with ID "nM2JfKwbEfWUTAfy13zO5g" failed with status 
"PERMISSION_DENIED" and includes the following errors:Error with 
message "The user does not have permission to perform this action on the 
resource or call a method.".*
 

















*Traceback (most recent call last):  File 
"/Users/andytsai/Venv/38/lib/python3.8/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
 
line 141, in _handle_grpc_failureraise 
self._get_error_from_response(response)google.ads.google_ads.errors.GoogleAdsException:
 
(<_InactiveRpcError of RPC that terminated with:status = 
StatusCode.PERMISSION_DENIEDdetails = "The caller does not have 
permission"debug_error_string = 
"{"created":"@1605059874.087255000","description":"Error received from peer 
ipv4:172.217.27.138:443 
","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"The
 
caller does not have permission","grpc_status":7}">, <_InactiveRpcError of 
RPC that terminated with:status = StatusCode.PERMISSION_DENIED  
  details = "The caller does not have permission"debug_error_string 
= "{"created":"@1605059874.087255000","description":"Error received from 
peer ipv4:172.217.27.138:443 
","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"The
 
caller does not have permission","grpc_status":7}">, errors {  error_code 
{authorization_error: ACTION_NOT_PERMITTED  }  message: "The user does 
not have permission to perform this action on the resource or call a 
method."}*
*, 'nM2JfKwbEfWUTAfy13zO5g')  *

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/876176ce-4ed9-4f5c-873c-0712f9476b5bn%40googlegroups.com.


Cannot create customer under child MCC

2020-11-16 Thread Andy Tsai
Hi Ads API support,

I have a master MCC 777-184-9643 with basic API access token.
And I also have a child MCC 916-749-8242.
I can get information under child MCC by ads api.
But when I tried to create new customer under child MCC,
I got error as below, is there anything I should do before CREATE api?
Thanks.



*Request made: ClientCustomerId: 9167498242, 
Host: googleads.googleapis.com:443 , 
Method: 
/google.ads.googleads.v5.services.CustomerService/CreateCustomerClient, 
RequestId: nM2JfKwbEfWUTAfy13zO5g, IsFault: True, FaultMessage: The user 
does not have permission to perform this action on the resource or call a 
method.Request with ID "nM2JfKwbEfWUTAfy13zO5g" failed with status 
"PERMISSION_DENIED" and includes the following errors:Error with 
message "The user does not have permission to perform this action on the 
resource or call a method.".*
 

















*Traceback (most recent call last):  File 
"/Users/andytsai/Venv/38/lib/python3.8/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
 
line 141, in _handle_grpc_failureraise 
self._get_error_from_response(response)google.ads.google_ads.errors.GoogleAdsException:
 
(<_InactiveRpcError of RPC that terminated with:status = 
StatusCode.PERMISSION_DENIEDdetails = "The caller does not have 
permission"debug_error_string = 
"{"created":"@1605059874.087255000","description":"Error received from peer 
ipv4:172.217.27.138:443 
","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"The
 
caller does not have permission","grpc_status":7}">, <_InactiveRpcError of 
RPC that terminated with:status = StatusCode.PERMISSION_DENIED  
  details = "The caller does not have permission"debug_error_string 
= "{"created":"@1605059874.087255000","description":"Error received from 
peer ipv4:172.217.27.138:443 
","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"The
 
caller does not have permission","grpc_status":7}">, errors {  error_code 
{authorization_error: ACTION_NOT_PERMITTED  }  message: "The user does 
not have permission to perform this action on the resource or call a 
method."}*
*, 'nM2JfKwbEfWUTAfy13zO5g')  *

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/73fb182c-f722-41cc-be32-c249ab6679b2n%40googlegroups.com.


Re: Cannot Create Customer

2020-07-06 Thread Google Ads API Forum Advisor Prod
Hi Radek,

If this is still an issue, please send them directly to 
googleadsapi-supp...@google.com.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5004Q219d4e:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/KFmw70QD1ZGO00eAhjjia3TDSXatGvbsDfKw%40sfdc.net.


Re: Cannot Create Customer

2020-07-06 Thread Radek Karkut
Hello there, could you enable Replay privately?
I got stuck right now.

czwartek, 2 lipca 2020 o 10:12:22 UTC+2 Radek Karkut napisał(a):

> Hi there, thank you very much for your help. I would like to reply 
> privately but this option is inactive. Could you activate it?
>
> środa, 1 lipca 2020 o 17:29:56 UTC+2 adsapiforumadvisor napisał(a):
>
>> Hi Radek,
>>
>> Can you please share your complete detailed request and response logs for 
>> the call *via Reply privately to author *so I can further investigate 
>> the issue? Also, which email address are you using to make this call? You 
>> can find information on enabling logging here 
>>  
>> (log 
>> level = NOTICE).
>>
>>
>> Regards,
>> Mitchell
>> Google Ads API Team
>>
>> ref:_00D1U1174p._5004Q219d4e:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9248d8ed-423b-47ae-ace1-695922644150n%40googlegroups.com.


Re: Cannot Create Customer

2020-07-02 Thread Radek Karkut
Hi there, thank you very much for your help. I would like to reply 
privately but this option is inactive. Could you activate it?

środa, 1 lipca 2020 o 17:29:56 UTC+2 adsapiforumadvisor napisał(a):

> Hi Radek,
>
> Can you please share your complete detailed request and response logs for 
> the call *via Reply privately to author *so I can further investigate the 
> issue? Also, which email address are you using to make this call? You can 
> find information on enabling logging here 
>  
> (log 
> level = NOTICE).
>
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q219d4e:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/592315e1-4041-491b-b425-d35b08640a9fn%40googlegroups.com.


Re: Cannot Create Customer

2020-07-01 Thread Google Ads API Forum Advisor Prod
Hi Radek,

Can you please share your complete detailed request and response logs for the 
call via Reply privately to author so I can further investigate the issue? 
Also, which email address are you using to make this call? You can find 
information on enabling logging here (log level = NOTICE).

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5004Q219d4e:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/myjw80QCSR1500LlyYlL4OS22PWKftOo3jfA%40sfdc.net.


Re: Cannot Create Customer

2020-07-01 Thread Radek Karkut
Hello there,
Unfortunately, I think that we misunderstand.
In our previous conversation you gave me instructions how I can link my 
individual Google Ads Account to Manager account manually (by sending 
invitation in Manager Account settings).
My goal is to have access to multiple accounts from my Manager Account like 
it is described here: 
https://support.google.com/google-ads/answer/6139186?visit_id=637291791366918653-1144634564&rd=1#MCC_invite
.
I would like create ads for my clients and link their account to my Manager 
Account automatically (in background) and I think it's possible using 
instructions describes below
https://developers.google.com/google-ads/api/docs/account-management/linking-manager-accounts

I'm trying to create link (in pending status) but something is going wrong, 
could you take a look in my code?

$customerClientLink = new CustomerClientLink(
[
'client_customer' => new StringValue(
['value' => ResourceNames::forCustomer(8322203725)]
),
'status' => ManagerLinkStatus::PENDING
]);

$customerClientLinkOperation = new CustomerClientLinkOperation();
$customerClientLinkOperation->setCreate($customerClientLink);

$customerClientLinkServiceClient = 
$this->googleAdsClient->getCustomerClientLinkServiceClient();
$response = 
$customerClientLinkServiceClient->mutateCustomerClientLink(8322203725, 
$customerClientLinkOperation);

Error:
"errorCode": {
   "authorizationError": "USER_PERMISSION_DENIED"
}

wtorek, 30 czerwca 2020 o 18:31:54 UTC+2 adsapiforumadvisor napisał(a):

> Hi Radek,
>
> You need to add the email address you used to generate the OAuth 
> credentials as a user to your account by following these instructions 
> . Once you 
> accept the invitation from your new email address and see it in the list of 
> users for the account (Tools & Settings -> Setup -> Access and Security), 
> then you can make API calls using those credentials.
>
> As I mentioned, looking in your account I only saw slum...@gmail.com 
> listed as a user. Not ads...@gmail.com.
>
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q219d4e:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a908392d-a484-45ed-8b26-30025096d190n%40googlegroups.com.


Re: Cannot Create Customer

2020-06-29 Thread Radek Karkut
Hello there, so can you tell me how can I make a call to create new 
customer on account authorised by oAuth? I have oAuth application and 
account authorised to this application, why I don't have permission to 
create new customer?
I'm looking forward for your advice.

poniedziałek, 29 czerwca 2020 o 16:40:40 UTC+2 adsapiforumadvisor 
napisał(a):

> Hi Radek,
>
> Thank you for providing that information. The USER_PERMISSION_DENIED 
> 
>  
> error occurs when your OAuth credentials don't have access to the account 
> you're trying to make the call to. I looked at both manager accounts and 
> see that the email slum...@gmail.com is added as a user for both but 
> ads...@gmail.com is not a user in either. This is why you're getting that 
> error when trying to create the new user using the credentials of 
> ads...@gmail.com.
>
> You can check the users of your account by going to Tools & Settings -> 
> Setup -> Access and Security in the Google Ads UI. If you would like to 
> make calls to the account with that email, you must add it as a user.
>
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q219d4e:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a5f0fdff-1232-4150-970b-c5058326116an%40googlegroups.com.


Re: Cannot Create Customer

2020-06-29 Thread Radek Karkut
I will give you one update about this issue

I have created Refresh Token using oAuth authorisation for my primary 
account (slum@gmail.com) and when I have used it Customer was created 
properly.
After that I have created Refresh Token using my second google account 
(ads@gmail.com) and when I have used it PERMISSION_DENIED error 
occurred.
On my mind I can create Customer using first account because Manager 
Account (8322203725) is available on this account. I cannot create Customer 
on any other google account.
Could you tell me why? Does it matter that 8322203725 is a Test Manager 
Account?
poniedziałek, 29 czerwca 2020 o 09:35:58 UTC+2 Radek Karkut napisał(a):

> Hello, thank you very much for your help.
>
> I'm trying to create new customer using client id 7608615007 
> <(760)%20861-5007> (it's my account manager id) and  but below error 
> occurs. Could you tell me why?
>
> Uncaught Google\ApiCore\ApiException: {
> "message": "The caller does not have permission",
> "code": 7,
> "status": "PERMISSION_DENIED",
> "details": [
> {
> "@type": 0,
> "data": "type.googleapis.com
> \/google.ads.googleads.v3.errors.GoogleAdsFailure"
> },
> {
> "@type": 0,
> "data": [
> {
> "errorCode": {
> "authorizationError": "USER_PERMISSION_DENIED"
> },
> "message": "User doesn't have permission to access 
> customer. Note: If you're accessing a client customer, the manager's 
> customer id must be set in ApiException.php on line 139
>
>
> piątek, 26 czerwca 2020 o 17:12:02 UTC+2 adsapiforumadvisor napisał(a):
>
>> Hi Radek,
>>
>> Thank you for reaching out. If your client already has a Google Ads 
>> account, then you should follow these instructions 
>> <https://developers.google.com/google-ads/api/docs/account-management/linking-manager-accounts>
>>  
>> to link that account to yours. If they don't have an existing account, then 
>> you should create one on their behalf using the example you shared.
>>
>> The login-customer-id 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>>  
>> field should be set to the client customer ID of the manager account (your 
>> existing account in this case).
>>
>> Regards,
>> Mitchell
>> Google Ads API Team
>>
>> ref:_00D1U1174p._5004Q219d4e:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b231164e-83c4-4f42-8585-37fe154317dcn%40googlegroups.com.


Re: Cannot Create Customer

2020-06-29 Thread Radek Karkut
Hello, thank you very much for your help.

I'm trying to create new customer using client id 7608615007 (it's my 
account manager id) and  but below error occurs. Could you tell me why?

Uncaught Google\ApiCore\ApiException: {
"message": "The caller does not have permission",
"code": 7,
"status": "PERMISSION_DENIED",
"details": [
{
"@type": 0,
"data": 
"type.googleapis.com\/google.ads.googleads.v3.errors.GoogleAdsFailure"
},
{
"@type": 0,
"data": [
{
"errorCode": {
"authorizationError": "USER_PERMISSION_DENIED"
},
"message": "User doesn't have permission to access 
customer. Note: If you're accessing a client customer, the manager's 
customer id must be set in ApiException.php on line 139


piątek, 26 czerwca 2020 o 17:12:02 UTC+2 adsapiforumadvisor napisał(a):

> Hi Radek,
>
> Thank you for reaching out. If your client already has a Google Ads 
> account, then you should follow these instructions 
> 
>  
> to link that account to yours. If they don't have an existing account, then 
> you should create one on their behalf using the example you shared.
>
> The login-customer-id 
> 
>  
> field should be set to the client customer ID of the manager account (your 
> existing account in this case).
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q219d4e:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/900e9176-648d-4573-a154-7e75cff322dan%40googlegroups.com.


RE: Cannot Create Customer

2020-06-26 Thread Google Ads API Forum Advisor Prod
Hi Radek,

Thank you for reaching out. If your client already has a Google Ads account, 
then you should follow these instructions to link that account to yours. If 
they don't have an existing account, then you should create one on their behalf 
using the example you shared.

The login-customer-id field should be set to the client customer ID of the 
manager account (your existing account in this case).

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5004Q219d4e:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/KBmyU0QCJGVI00pVk1LG_STaeT6MB0bKQ81g%40sfdc.net.


Cannot Create Customer

2020-06-26 Thread Radek Karkut
Hello there,
I'm working on Google Ads API and my goal is to create ads in behalf of my 
clients.
I have created oAuth authorisation and it works properly (I have access and 
refresh token).

It's possible that I misunderstand the principles so please correct me.

1. If I would like to create new Ad for my client I need to create new 
Customer, right?
2. How can I create new Customer on my client Account visible in my Account 
Manager?

I'm trying to create new Customer using below tutorial but error occurs:
https://developers.google.com/google-ads/api/docs/account-management/create-account

"message": "User doesn't have permission to access customer. Note: If 
you're accessing a client customer, the manager's customer id must be set 
in the 'login-customer-id' header. 

3. How can I use login-customer-id if I didn't create Customer yet?

I'm looking forward for your help guys.
Best Regards.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/21cfc2d3-605c-4821-867f-0dbba1d90fcdo%40googlegroups.com.