Re: Link between Developer Token and OAuth2

2020-12-07 Thread Google Ads API Forum Advisor Prod
Hi Thomas,

Thank you for your suggestion and our team will improve the documentation to 
provide more explicit information on this topic. We really appreciate it!

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q28lIIu: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/u-V_M0QKZJA100aeLQFCwwToG08j1FbE-M_Q%40sfdc.net.


Re: Link between Developer Token and OAuth2

2020-12-07 Thread Thomas
Thx to both of you!
It's really more explicit now!

@Xiaoming, I really think the doc could be improved to be a few more 
explicit on these 
points. https://developers.google.com/google-ads/api/docs/first-call/dev-token

On Thursday, December 3, 2020 at 12:47:53 PM UTC+1 Zweitze wrote:

> You made me blush!
> I'm glad to help out every now and then.
>
> On Wednesday, December 2, 2020 at 9:13:36 PM UTC+1 adsapiforumadvisor 
> wrote:
>
>> Hi Zweitze,
>>
>> Thanks for providing useful information to other people in the forum. We 
>> appreciate your efforts and hope you could keep up the good work. 
>>
>>
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>> [image: Google Logo] 
>> Xiaoming 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q28lIIu: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/102f13a6-5181-4a16-8ef6-f5d8d41948a3n%40googlegroups.com.


Re: Link between Developer Token and OAuth2

2020-12-03 Thread Zweitze
You made me blush!
I'm glad to help out every now and then.

On Wednesday, December 2, 2020 at 9:13:36 PM UTC+1 adsapiforumadvisor wrote:

> Hi Zweitze,
>
> Thanks for providing useful information to other people in the forum. We 
> appreciate your efforts and hope you could keep up the good work. 
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q28lIIu: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/1e1bd533-ba9f-4bf5-b437-e5a1fc47546en%40googlegroups.com.


RE: Link between Developer Token and OAuth2

2020-12-02 Thread Google Ads API Forum Advisor Prod
Hi Zweitze,

Thanks for providing useful information to other people in the forum. We 
appreciate your efforts and hope you could keep up the good work.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q28lIIu: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/qA5b_0QKQATP00XLm6ZYo6Q5KG6eq6g4yrnQ%40sfdc.net.


Re: Link between Developer Token and OAuth2

2020-12-01 Thread Zweitze
Let me offer an alternative explanation.

Both OAuth2 client and MCC developertoken are intended to identify the 
developer. To understand this you've got to consider history. The MCC 
developertoken was first. At that time (we're talking 2005 here, OAuth2 did 
not exist) you had to pay for API usage, and the MCC has possibilities to 
store credit cards, show invoices, etc. Plus it offered some user 
management - Developertokens were never lost, they were always visible in 
the MCC.
Apart from invoicing and user management, a compliance team in Google wants 
to know in advance what you intend to do with the API. They may consider 
your monthly spending. You have to submit your plans, and a few weeks or 
months later you get your developertoken. But: your plans can also be 
rejected.

Around 2011 OAuth2 was introduced, its main feature is that it was much 
faster - and it was much safer too. OAuth2 intends to do the same - 
identify developers. AdWords API was one of the last Google APIs to move to 
OAuth2 - others like GMail, Analytics etc. were migrated years before. So, 
by then OAuth2 came with an infrastructure ("Developer Console") that was 
taylored to the wishes of other APIs, and did not completely match the 
wishes of Google Ads. The lacking features are solved by keeping the 
developertoken alive.

There you have it. They are essentially the same but some minor details 
lead to this situation.

What are the differences? Like I said, security and speed. OAuth2 is the 
way to go. Further:

   - In Developer Console, you can only add an API or remove it, and before 
   usage you may have to agree with extra Terms and Conditions. But Developer 
   Console has no system to allow a manual review before granting access, as 
   is the case with MCC.
   - MCC links a developer to the advertising amount being spent. This 
   doesn't always say much -some applications are created for mainly external 
   users- but you can imagine that the compliance team allows more from 
   companies spending a lot on Google ads. It works the other way around too, 
   if you apply and state that the software will only be used internally, and 
   you don't spend any money inside your MCC, you probably won't get approved.
   - There is an issue with definitions. In OAuth2 you are supposed to 
   create a client for every piece of software (communicating with the API) 
   you make.  In the MCC this is different: the MCC web interface allows only 
   one developertoken. You can work around this limitation by having sub-MCCs 
   which can get their own developertokens. But this is legally not allowed, 
   see Terms & Conditions.


Note: as I've been around for a while, some information may be outdated. 
But I think I got the essence right.
I hope this offers some additional understanding.

On Friday, November 27, 2020 at 1:12:04 PM UTC+1 Thomas wrote:

> Hello! 
>
> I'm currently reviewing some permissions in my company and I don't 
> understand how the ads api was configured. 
> In particular i'm trying to understand where is defined the link between 
> oauth2 and the developer token. Is there some mapping only visible on 
> Google side? 
>
> In my case, the oauth identification is defined on a standard google 
> project owned by an user who has no link with the MCC, therefore I don't 
> understand how it can work. 
>
> Moreover, my developer token is created on one MCC. but with the api we 
> act on another MCC (which is not a child of the first one). How is it 
> possible? 
>
> Everything works today but it's pretty obscure why.
>
> thanks for any explanation!
> Thomas
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/78fd3ed6-8379-4b71-be2b-0b4e8454fd27n%40googlegroups.com.


RE: Link between Developer Token and OAuth2

2020-11-30 Thread Google Ads API Forum Advisor Prod
Hi Thomas,

Thank you for reaching out. The developer token itself is just a key used to 
access the API. It could be used for different accounts even if those accounts 
might not be in the hierarchy of the MCC account which holds the developer 
token. The OAuth2 credentials are created using the user email login of the 
manager account of the target client customer accounts and these OAuth2 
credentials(clientId and clientSecret) are configured in a project in Google 
API Console. All these work together to ensure the API call is successful.

Thanks and regards,
Xiaoming, Google Ads API Team

Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q28lIIu: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/rrwqU0QKMMKJ00bjvjWhMGSHqYptlIBnKyJQ%40sfdc.net.


Link between Developer Token and OAuth2

2020-11-27 Thread Thomas Leclaire
Hello! 

I'm currently reviewing some permissions in my company and I don't 
understand how the ads api was configured. 
In particular i'm trying to understand where is defined the link between 
oauth2 and the developer token. Is there some mapping only visible on 
Google side? 

In my case, the oauth identification is defined on a standard google 
project owned by an user who has no link with the MCC, therefore I don't 
understand how it can work. 

Moreover, my developer token is created on one MCC. but with the api we act 
on another MCC (which is not a child of the first one). How is it possible? 

Everything works today but it's pretty obscure why.

thanks for any explanation!
Thomas

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fe55d5ae-e0c3-4481-ab9b-9b10a3f0a923n%40googlegroups.com.