Re: navigating the insane authentication

2024-04-01 Thread Adam Milton-Barker
Going to use  a 3rd party API yours is atrocious. 

On Monday, March 25, 2024 at 2:05:15 PM UTC Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> I understand that you are facing some issues while making an API call. To 
> make an API call to a Google Ads customer, you need access to that customer 
> either directly or through a linked manager account. You also need the 
> proper permissions depending on the particular API call. I would suggest 
> you to Prepare the customer account 
> 
>  before 
> making an API call. You need below details to make an API call.
>
> Developer token: A developer token from Google lets your app connect to 
> the Google Ads API. This is a 22-character long alphanumeric string, and is 
> listed under the "API Center" page of your Google Ads manager account. 
> After Sign in  then 
> navigate to TOOLS & SETTINGS > SETUP > API Center. The API Center option 
> appears only for Google Ads manager account.
>
> Client ID and client secret: You can find the client ID and client secret 
> in the *Google API Console* 
>  under credentials, you 
> may refer to this guide 
> 
>  for 
> more information.  
>
> Refresh token: The Google Ads API uses OAuth 2.0 as the authorization 
> mechanism. By default, OAuth 2.0 authentication issues an access token that 
> expires after a limited time. To renew the access token automatically, you 
> should issue a refresh token instead.
> Customer ID: The 10-digit customer ID of the customer account to which you 
> plan to make API calls against. This is sometimes referred to as the 
> operating customer.
>
> Log-in-customer ID: The 10-digit login customer ID of the customer account 
> you're signed in to. If you're signed in to the operating customer, the 
> login customer ID is the same as the customer ID.
>
> I would suggest you to go through 'Make an API call 
> '
>  
> guide for more information about making API call in PHP. Let us know if you 
> have any further queries.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02s0CGR:ref" (ADR-00228522)
>
> Thanks,
>   
> [image: Google Logo] Google Ads 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 
"Google Ads API and AdWords 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/64a90015-7cfe-4273-aecc-173509e3b11cn%40googlegroups.com.


Re: navigating the insane authentication

2024-04-01 Thread Adam Milton-Barker
Fully aware of how refresh tokens are used, no where in your docs does it 
tell you how to handle it with your SDK, you have literally just 
regurgitated the information we have already seen and not given any further 
understanding or example. 
On Monday, March 25, 2024 at 2:05:15 PM UTC Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> I understand that you are facing some issues while making an API call. To 
> make an API call to a Google Ads customer, you need access to that customer 
> either directly or through a linked manager account. You also need the 
> proper permissions depending on the particular API call. I would suggest 
> you to Prepare the customer account 
> 
>  before 
> making an API call. You need below details to make an API call.
>
> Developer token: A developer token from Google lets your app connect to 
> the Google Ads API. This is a 22-character long alphanumeric string, and is 
> listed under the "API Center" page of your Google Ads manager account. 
> After Sign in  then 
> navigate to TOOLS & SETTINGS > SETUP > API Center. The API Center option 
> appears only for Google Ads manager account.
>
> Client ID and client secret: You can find the client ID and client secret 
> in the *Google API Console* 
>  under credentials, you 
> may refer to this guide 
> 
>  for 
> more information.  
>
> Refresh token: The Google Ads API uses OAuth 2.0 as the authorization 
> mechanism. By default, OAuth 2.0 authentication issues an access token that 
> expires after a limited time. To renew the access token automatically, you 
> should issue a refresh token instead.
> Customer ID: The 10-digit customer ID of the customer account to which you 
> plan to make API calls against. This is sometimes referred to as the 
> operating customer.
>
> Log-in-customer ID: The 10-digit login customer ID of the customer account 
> you're signed in to. If you're signed in to the operating customer, the 
> login customer ID is the same as the customer ID.
>
> I would suggest you to go through 'Make an API call 
> '
>  
> guide for more information about making API call in PHP. Let us know if you 
> have any further queries.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02s0CGR:ref" (ADR-00228522)
>
> Thanks,
>   
> [image: Google Logo] Google Ads 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 
"Google Ads API and AdWords 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/d6a336c8-6021-4827-bc42-ae77a8939e14n%40googlegroups.com.


Re: How to refresh the client refresh_token?

2024-03-25 Thread Adam Milton-Barker
What an absolute joke this whole API is, and support never directly answer 
a question.

On Thursday, December 9, 2021 at 5:49:49 AM UTC Google Ads API Forum 
Advisor wrote:

> Hi Steve,
>
> I am also a member of the Google Ads API team and let me provide support 
> to your concern.
>
> To answer your latest question, I am afraid that when the user encountered 
> the error because the refresh token has been expired, then they need to 
> manually allowing the OAuth2 credentials in the browser to access the 
> Google Ads account on their behalf.
>
> The workaround here is to transform your test app into a fully published 
> app and you can reach out to GCP support 
>  to know the steps.
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ScPDp: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 
"Google Ads API and AdWords 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/82a0b343-a1cc-474c-9330-b6a3716218dan%40googlegroups.com.


Navigating the insane authentication

2024-03-25 Thread Adam Milton-Barker
We have worked with APIs for years, but have never seen anything as crazy 
as the process to make requests. We have spent 2 days going round in 
circles through the various documentation and have still not been able to 
make a simple API call. 

We are using the PHP library. We do not use a configuration file as our app 
will provide core functionality powered by our company tokens, and also the 
ability for customers to login to action requests on their accounts. 

We have set the oauth process, great usually by this point you can make 
requests, but no, we then have to go round in circles trying to find a way 
to make a request without the config file, We find that way, and then, we 
now have to find a way of getting the customer ids which are not returned 
when a customer authenticates our app. 

Which customer ID do we use? Who knows, because the documentation says you 
need them but does not tell you where they are. Great. 

login-customer-id -  is this related to our account as the application 
owners making requests to both our account and customers? Who knows. 

linked-customer-id - well we are really pushing the boat out here aren't 
we! So its not enough that we have generated an Oath Token,
its not enough that we have provided the developer token, its not enough 
that we are providing 
some unknown customer ID, we also have to provide a linked customer account 
ID. 

Can someone please explain in simple process how we make an API call? At 
this moment we are simply 
trying to make a call to our own account to generate some keyword ideas, we 
are absolutely dreading integrating this API for our customers features.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/b30c51a0-9276-4255-aabe-95405600d352n%40googlegroups.com.