Google Ads API Token Application

2024-02-22 Thread Philipp
Hi

We applied for Basic Access to the Google Ads API to be able to use 
enhanced conversions, but didn't get any response yet.
This delays us from rolling out our campaign because we cannot upload the 
click conversion. 

   - Google Ads Manager Account (MCC) ID: 421-879-6766
   - Cases ID: not assigned
   - Access type: Basic

I assume the team is busy answering all the requests, but it would be great 
to get an update about the timeline.

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3fe73782-5b15-4191-8161-10750c09b274n%40googlegroups.com.


Beginner needs Help with 1 Query

2022-08-06 Thread 'Philipp Oberthür' via Google Ads API and AdWords API Forum
Hi!
i got help with 1 Query please, im absolute beginner and i got this for my 
Google Sheet

{"query": " SELECT campaign.name, campaign_budget.amount_micros, 
campaign.status, campaign.optimization_score, 
campaign.advertising_channel_type, metrics.clicks, metrics.impressions, 
metrics.ctr, metrics.average_cpc, 
metrics.cost_micros,metrics.conversions,campaign.bidding_strategy_type FROM 
campaign WHERE segments.date DURING LAST_7_DAYS AND campaign.status != 
'REMOVED' " }

But actually I just need an output about the daily Google Ads cost. Best 
updated every second.

Is something like this possible? If so, does anyone have an idea for the 
code?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f4d1da4b-16d5-46b2-8acd-cee3e02afb57n%40googlegroups.com.


Re: Avoid getting io.grpc.StatusRuntimeException/INTERNAL: Internal error encountered

2022-05-31 Thread Philipp Hofschweiger
Thanks for you help! We'll improve our retry handling and come back to you 
in case we face further issues. 
BR Philipp

On Tuesday, May 31, 2022 at 6:21:59 AM UTC+2 adsapi wrote:

> Hi Philipp,
>
> I am Carmela, also a member of the Google Ads API team. Thank you for 
> getting back to us.
>
> As an update on what my colleague has mentioned, kindly note that you have 
> to wait for about *30 seconds* only. 
>
>
> Also, to answer your questions in general, please note that the specific 
> request encountering this error will be the only request that will not 
> execute and it will not affect the other requests.
>
> The said error that you've encountered is one of the Retryable 
> errors. Some errors, such as INTERNAL_ERROR 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/InternalErrorEnum.InternalError#internal_error>,
>  
> can indicate a temporary problem that may be resolved by retrying the 
> request after a short pause. Please see this documentation 
> <https://developers.google.com/google-ads/api/docs/best-practices/error-types?hl=en#retryable_errors>
>  for 
> more details about the Retryable errors.
>  
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bDIiI: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/bfdedc00-a773-4485-a4e4-feae7a6d82b9n%40googlegroups.com.


Re: Avoid getting io.grpc.StatusRuntimeException/INTERNAL: Internal error encountered

2022-05-29 Thread Philipp Hofschweiger
Hello! 
Thanks for the quick response! 

Following up on your suggestion to stick with retrying for now i'd have a 
general question regarding the retry mechanism. What is the "scope" of this 
suggestion? Is it "just this specific request that we trigger again e.g. 30 
minutes later" or is it recommended that there are no request at all from 
this source (developer token?) for a certain amount of time? In short, do 
we have to expect more errors from the API for some time after we 
experience "*something unexpected happens*" or are other requests not 
affected by this?
BR Philipp

On Thursday, May 26, 2022 at 1:30:46 AM UTC+2 adsapi wrote:

> Hi Philipp,
>
> Thank you for posting your concern. Let me provide insights here.
>
> Allow me to provide an overview for this error first, it occurs when 
> something unexpected happens while processing the request or the API isn't 
> functioning correctly due to a bug. However, this is transient in nature 
> so retrying the API requests after 30 minutes or sometimes will mostly work.
>
> It appears that you are experiencing "*something unexpected happens*" 
> since you mentioned that it is working when retrying the API requests. With 
> this, I would strongly recommend to retry it for now as there are no 
> specific patterns as you mentioned due to temporary issues on the API side 
> or on your application side.
>
> However, in the event that this error occurs consistently with a pattern, 
> then this is the time that we need to check this error. You can just 
> provide first the details below via Reply privately to author option or via 
> this email alias googleadsa...@google.com. 
>
>- Complete request 
>
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
> and response 
>
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  logs 
>with request ID 
>
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
> and request header 
>
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>  generated 
>on your end 
>
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bDIiI: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/c0e51458-e268-4a51-a33c-601ff0f054d3n%40googlegroups.com.


Avoid getting io.grpc.StatusRuntimeException/INTERNAL: Internal error encountered

2022-05-25 Thread Philipp Hofschweiger
Hello,
we are getting these errors on a daily basis, so far did not find any 
specific pattern. It happens for bigger report downloads, as well as for 
small queries. Most of the time retrying helps as a work around, however we 
would like to learn more about the root cause and if we can avoid these 
errors completely? Are we causing these errors somehow, or is it really, as 
the error documentation says, a server-side "bug"? 

Example FAILURE REQUEST SUMMARY::

Method: google.ads.googleads.v10.services.GoogleAdsService/SearchStream
Endpoint: googleads.googleapis.com:443, 
RequestID: ZdQ18dNAfsDERfeIQoqrYA, 
ResponseCode: INTERNAL
Fault: Internal error encountered..

Thanks for the help! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a726738b-83b4-4506-a1d9-e1ee00e769f8n%40googlegroups.com.


Refresh Token expires after 7 days

2021-09-03 Thread Philipp Sowinski
Hi,

I want to run a cron task which uploads offline conversions every day.
Unfortunately my refresh token expires after 7 days.

What can I do?

This is the error message I get
"google.auth.exceptions.RefreshError: ('invalid_grant: Token has been 
expired or revoked.', {'error': 'invalid_grant', 'error_description': 
'Token has been expired or revoked.'})"

I am sure, there must be a permanent way?

Thank you
Philipp

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/006991fe-9cfa-42c9-a9f4-d39701f96220n%40googlegroups.com.


Re: Can't generate a refresh token

2021-08-27 Thread Philipp Sowinski
On a computer with a fresh installed ubuntu operating system it works. I 
think there is a problem with package versions.

Would be nice to know which package version is wrong but I guess this is 
out of scope.



Philipp Sowinski schrieb am Donnerstag, 26. August 2021 um 10:27:53 UTC+2:

> Hi,
>
> I'm currently following this guide to set up Google Ads API for my project:
>
> https://developers.google.com/google-ads/api/docs/first-call/overview#config
> (I want to upload offline conversions programmatically through the api)
>
> 1) I successfully requested a developer token
> 2) I created a OAuth2 client ID and client secret
> 3) I struggle to generate the OAuth2 refresh token
>
> https://developers.google.com/google-ads/api/docs/client-libs/python/oauth-web
>
> If I run the script mentioned in the docs and open the URL, then I get 
> this error:
> *python3 authenticate_in_web_application.py --client_secrets_path 
> client_secret.json *
>
> *Paste this URL into your browser: *
> *https://accounts.google.com/o/oauth2/auth?response_type=codex 
> <https://accounts.google.com/o/oauth2/auth?response_type=codex>*
>
> *Waiting for authorization and callback to: http://localhost:8080...*
> *Traceback (most recent call last):*
> *  File "authenticate_in_web_application.py", line 203, in *
> *main(args.client_secrets_path, configured_scopes)*
> *  File "authenticate_in_web_application.py", line 81, in main*
> *code = _get_authorization_code(passthrough_val)*
> *  File "authenticate_in_web_application.py", line 112, in 
> _get_authorization_code*
> *params = _parse_raw_query_params(data)*
> *  File "authenticate_in_web_application.py", line 160, in 
> _parse_raw_query_params*
> *params = match.group(1)*
> *AttributeError: 'NoneType' object has no attribute 'group'*
>
> What I am missing?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3bf6e8c8-f4c6-486c-9cf6-3243acf44e6an%40googlegroups.com.


Upload conversation from source "Website" not working

2021-08-26 Thread Philipp Sowinski
Hi,

can I somehow upload conversations from source "Website"?

If I try to do this, i get the following error:
"This customer does not have an import conversion action that matches the 
conversion action provided., at conversions[0].conversion_action"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b5e40718-99ea-4277-8c7b-a9e8c75bcc44n%40googlegroups.com.


How to export Conversions

2021-08-26 Thread Philipp Sowinski
Hi,

is it possible to export conversions?
I want to compare them with my shop data. If there is something missing, I 
want to upload them.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9b7fe2a8-ff3f-4d27-be80-76e1ebe8adben%40googlegroups.com.


Can't generate a refresh token

2021-08-26 Thread Philipp Sowinski
Hi,

I'm currently following this guide to set up Google Ads API for my project:
https://developers.google.com/google-ads/api/docs/first-call/overview#config
(I want to upload offline conversions programmatically through the api)

1) I successfully requested a developer token
2) I created a OAuth2 client ID and client secret
3) I struggle to generate the OAuth2 refresh token
https://developers.google.com/google-ads/api/docs/client-libs/python/oauth-web

If I run the script mentioned in the docs and open the URL, then I get this 
error:
*python3 authenticate_in_web_application.py --client_secrets_path 
client_secret.json *

*Paste this URL into your browser: *
*https://accounts.google.com/o/oauth2/auth?response_type=codex*

*Waiting for authorization and callback to: http://localhost:8080...*
*Traceback (most recent call last):*
*  File "authenticate_in_web_application.py", line 203, in *
*main(args.client_secrets_path, configured_scopes)*
*  File "authenticate_in_web_application.py", line 81, in main*
*code = _get_authorization_code(passthrough_val)*
*  File "authenticate_in_web_application.py", line 112, in 
_get_authorization_code*
*params = _parse_raw_query_params(data)*
*  File "authenticate_in_web_application.py", line 160, in 
_parse_raw_query_params*
*params = match.group(1)*
*AttributeError: 'NoneType' object has no attribute 'group'*

What I am missing?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4d9bdfa5-7456-4996-ae4b-c93bcef46b43n%40googlegroups.com.


Re: Report Customer customer.descriptive_name customer.resource_name empty

2019-11-05 Thread Philipp Meier
Hi,

I figured it out with a mistake on my side: the account name was indeed 
empty and I had to set it first in the account's settings page.

Anyways thanks for the responsive support!

Philipp

On Monday, November 4, 2019 at 9:42:08 PM UTC+1, adsapiforumadvisor wrote:
>
> Hi Philipp,
>
> Can you please *reply privately to author *your CID and SOAP 
> request/response that resulted in empty results?
>
> Thanks,
> Anthony
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UMucaw: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/594beb02-842c-458a-87e6-8c8b32ed4cd1%40googlegroups.com.


Report Customer customer.descriptive_name customer.resource_name empty

2019-11-02 Thread Philipp Meier
Hi

I would like to get the accounts name from a clientId. So I implemented the 
customer report API (
https://developers.google.com/google-ads/api/fields/v2/customer) which 
works for some attributes (i.e. customer.id, customer.currency_code) but 
not for the two I'm looking for: 
customer.descriptive_name
customer.resource_name

Is there a specific reason why these attributes can not be queried? I'm 
using this unofficial NodeJS API Client which could have an impact as well: 
https://opteo.com/dev/google-ads-api

Thanks and best regards
Philipp

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/69b5b934-7d5e-4857-98dc-5c0f8ebc08cd%40googlegroups.com.


Re: Noob-Question: Make a simple API Call in Browser for Testing

2018-07-10 Thread Philipp Jäckle
Hi Luis,

thanks for the fast reply. I thought that maybe it is possible to add the 
report definition as querystring-parameters to the URL. Anyway, not the 
answer I wanted to hear, but definitely an answer that helps me :-D

Best

On Tuesday, 10 July 2018 08:14:55 UTC+2, Luis Xander Talag (AdWords API 
Team) wrote:
>
> Hi Philipp,
>
> I'm afraid that is not possible as the AdWords API report needs a report 
> definition 
> <https://developers.google.com/adwords/api/docs/guides/reporting#create_a_report_definition>
>  which 
> is an XML or AWQL 
> <https://developers.google.com/adwords/api/docs/guides/awql> fragment that 
> defines the parameters of your report, including the report name, the types 
> of information to include in the report, the download format, and other 
> details. These report definition should be enclosed in an HTTP POST 
> Request 
> <https://developers.google.com/adwords/api/docs/guides/reporting#prepare_the_request>
>  which 
> could be read by the AdWords server. For ease of use to the API, we highly 
> recommend to use the client libraries 
> <https://developers.google.com/adwords/api/docs/clientlibraries> to 
> download a report.
>
> Let me know if you have further clarifications.
>
> Thanks and regards,
> Luis
> 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/1f727ae5-f3d8-44f6-aa82-a203f26653ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Noob-Question: Make a simple API Call in Browser for Testing

2018-07-09 Thread Philipp Jäckle
Hi all,

this might be a stupid question, BUT can I do a simple API call as follows 
in order to retrieve performance Data?

https://adwords.google.com/api/adwords/ # my_account # / # my_report # / # 
my_access_token

And then get something like JSON or XML result in my Browser:

{
  "Data": [
{
  ...
}, 
{
  ...
}
  ]
}


Thanks a lot and sorry for that kind of question.


Best

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/90f68163-4296-4fcf-8bce-2e2902773c51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Customer ID

2014-08-12 Thread Philipp Comans
Hi Ray,

Thanks for your reply. My authorization token has the 
scope https://adwords.google.com/api/adwords/.
I am not specifying a scope when requesting the access token. Does that 
sound right to you?


On Monday, August 11, 2014 8:31:15 AM UTC-7, Ray Tsang (AdWords API Team) 
wrote:

 Phillip,

 Please make sure that the access token has the appropriate scope, and that 
 it's for the user that has access to the MCC or the AW account.
 It's recommended that you perform such a test by using the client library 
 https://developers.google.com/adwords/api/docs/clientlibraries.

 Thanks,

 Ray

 On Sunday, August 10, 2014 10:13:47 PM UTC-4, Philipp Comans wrote:

 Hey, I am trying to get the Customer ID of an AdWords Account that I just 
 authenticated with using OAuth2.
 For now, I am using a Chrome extension (
 https://chrome.google.com/webstore/detail/wizdler/oebpmncolmhiapingjaagmapififiakb?hl=en)
  
 to make a SOAP request to CustomerService (
 https://developers.google.com/adwords/api/docs/reference/v201406/CustomerService
 )

 The URL is:
 https://adwords.google.com/api/adwords/mcm/v201406/CustomerService

 My Request looks like this:
 Envelope xmlns=http://schemas.xmlsoap.org/soap/envelope/;
   Header
 RequestHeader xmlns=
 https://adwords.google.com/api/adwords/mcm/v201406;
   developerToken xmlns=
 https://adwords.google.com/api/adwords/cm/v201406;X/developerToken
   userAgent xmlns=https://adwords.google.com/api/adwords/cm/v201406
 X/userAgent
   validateOnly xmlns=
 https://adwords.google.com/api/adwords/cm/v201406;false/validateOnly
   partialFailure xmlns=
 https://adwords.google.com/api/adwords/cm/v201406;false/partialFailure
 /RequestHeader
   /Header
   Body
 get xmlns=https://adwords.google.com/api/adwords/mcm/v201406/
   /Body
 /Envelope

 My header looks like this:
 Content-Type: text/xml; charset=utf-8
 Authorization: Bearer X

 The response I get is:
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ResponseHeader xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201406; xmlns=
 https://adwords.google.com/api/adwords/mcm/v201406;
 ns2:requestIdX/ns2:requestId
 ns2:serviceNameCustomerService/ns2:serviceName
 ns2:methodNameget/ns2:methodName
 ns2:operations0/ns2:operations
 ns2:responseTime375/ns2:responseTime
 /ResponseHeader
 /soap:Header
 soap:Body
 soap:Fault
 faultcodesoap:Server/faultcode
 faultstring[AuthorizationError.SERVICE_ACCESS_DENIED @ 
 ]/faultstring
 detail
 ApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords/mcm/v201406; xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201406;
 
 ns2:message[AuthorizationError.SERVICE_ACCESS_DENIED @ ]/ns2:message
 
 ns2:ApplicationException.TypeApiException/ns2:ApplicationException.Type
 ns2:errors xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=ns2:AuthorizationError
 ns2:fieldPath/
 ns2:trigger/
 
 ns2:errorStringAuthorizationError.SERVICE_ACCESS_DENIED/ns2:errorString
 
 ns2:ApiError.TypeAuthorizationError/ns2:ApiError.Type
 ns2:reasonSERVICE_ACCESS_DENIED/ns2:reason
 /ns2:errors
 /ApiExceptionFault
 /detail
 /soap:Fault
 /soap:Body
 /soap:Envelope

 What am I doing wrong?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Customer ID

2014-08-12 Thread Philipp Comans
I can not use the client library unfortunately since it is incompatible 
with some existing gems in our project.
The URL I use is:
https://accounts.google.com/o/oauth2/auth?access_type=offlineapproval_prompt=forceclient_id=.apps.googleusercontent.comredirect_uri=http%3A%2F%2FXresponse_type=codescope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F
On Tuesday, August 12, 2014 11:16:48 AM UTC-7, Ray Tsang (AdWords API Team) 
wrote:

 Phillip,

 Did you use the example included in the client library to generate the 
 token?  What version of the client library are you using?

 Thanks,

 Ray

 On Tuesday, August 12, 2014 12:45:32 PM UTC-4, Philipp Comans wrote:

 Hi Ray,

 Thanks for your reply. My authorization token has the scope 
 https://adwords.google.com/api/adwords/.
 I am not specifying a scope when requesting the access token. Does that 
 sound right to you?


 On Monday, August 11, 2014 8:31:15 AM UTC-7, Ray Tsang (AdWords API Team) 
 wrote:

 Phillip,

 Please make sure that the access token has the appropriate scope, and 
 that it's for the user that has access to the MCC or the AW account.
 It's recommended that you perform such a test by using the client 
 library https://developers.google.com/adwords/api/docs/clientlibraries
 .

 Thanks,

 Ray

 On Sunday, August 10, 2014 10:13:47 PM UTC-4, Philipp Comans wrote:

 Hey, I am trying to get the Customer ID of an AdWords Account that I 
 just authenticated with using OAuth2.
 For now, I am using a Chrome extension (
 https://chrome.google.com/webstore/detail/wizdler/oebpmncolmhiapingjaagmapififiakb?hl=en)
  
 to make a SOAP request to CustomerService (
 https://developers.google.com/adwords/api/docs/reference/v201406/CustomerService
 )

 The URL is:
 https://adwords.google.com/api/adwords/mcm/v201406/CustomerService

 My Request looks like this:
 Envelope xmlns=http://schemas.xmlsoap.org/soap/envelope/;
   Header
 RequestHeader xmlns=
 https://adwords.google.com/api/adwords/mcm/v201406;
   developerToken xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 X/developerToken
   userAgent xmlns=
 https://adwords.google.com/api/adwords/cm/v201406;X/userAgent
   validateOnly xmlns=
 https://adwords.google.com/api/adwords/cm/v201406;false/validateOnly
   partialFailure xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 false/partialFailure
 /RequestHeader
   /Header
   Body
 get xmlns=https://adwords.google.com/api/adwords/mcm/v201406/
   /Body
 /Envelope

 My header looks like this:
 Content-Type: text/xml; charset=utf-8
 Authorization: Bearer X

 The response I get is:
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ResponseHeader xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201406; xmlns=
 https://adwords.google.com/api/adwords/mcm/v201406;
 ns2:requestIdX/ns2:requestId
 ns2:serviceNameCustomerService/ns2:serviceName
 ns2:methodNameget/ns2:methodName
 ns2:operations0/ns2:operations
 ns2:responseTime375/ns2:responseTime
 /ResponseHeader
 /soap:Header
 soap:Body
 soap:Fault
 faultcodesoap:Server/faultcode
 faultstring[AuthorizationError.SERVICE_ACCESS_DENIED @ 
 ]/faultstring
 detail
 ApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords/mcm/v201406; xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201406;
 
 ns2:message[AuthorizationError.SERVICE_ACCESS_DENIED @ ]/ns2:message
 
 ns2:ApplicationException.TypeApiException/ns2:ApplicationException.Type
 ns2:errors xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=ns2:AuthorizationError
 ns2:fieldPath/
 ns2:trigger/
 
 ns2:errorStringAuthorizationError.SERVICE_ACCESS_DENIED/ns2:errorString
 
 ns2:ApiError.TypeAuthorizationError/ns2:ApiError.Type
 ns2:reasonSERVICE_ACCESS_DENIED/ns2:reason
 /ns2:errors
 /ApiExceptionFault
 /detail
 /soap:Fault
 /soap:Body
 /soap:Envelope

 What am I doing wrong?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe

Get Customer ID

2014-08-11 Thread Philipp Comans
Hey, I am trying to get the Customer ID of an AdWords Account that I just 
authenticated with using OAuth2.
For now, I am using a Chrome extension 
(https://chrome.google.com/webstore/detail/wizdler/oebpmncolmhiapingjaagmapififiakb?hl=en)
 
to make a SOAP request to CustomerService 
(https://developers.google.com/adwords/api/docs/reference/v201406/CustomerService)

The URL is:
https://adwords.google.com/api/adwords/mcm/v201406/CustomerService

My Request looks like this:
Envelope xmlns=http://schemas.xmlsoap.org/soap/envelope/;
  Header
RequestHeader 
xmlns=https://adwords.google.com/api/adwords/mcm/v201406;
  developerToken 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;X/developerToken
  userAgent 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;X/userAgent
  validateOnly 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;false/validateOnly
  partialFailure 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;false/partialFailure
/RequestHeader
  /Header
  Body
get xmlns=https://adwords.google.com/api/adwords/mcm/v201406/
  /Body
/Envelope

My header looks like this:
Content-Type: text/xml; charset=utf-8
Authorization: Bearer X

The response I get is:
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406; 
xmlns=https://adwords.google.com/api/adwords/mcm/v201406;
ns2:requestIdX/ns2:requestId
ns2:serviceNameCustomerService/ns2:serviceName
ns2:methodNameget/ns2:methodName
ns2:operations0/ns2:operations
ns2:responseTime375/ns2:responseTime
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstring[AuthorizationError.SERVICE_ACCESS_DENIED @ 
]/faultstring
detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/mcm/v201406; 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406;
ns2:message[AuthorizationError.SERVICE_ACCESS_DENIED 
@ ]/ns2:message

ns2:ApplicationException.TypeApiException/ns2:ApplicationException.Type
ns2:errors 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=ns2:AuthorizationError
ns2:fieldPath/
ns2:trigger/

ns2:errorStringAuthorizationError.SERVICE_ACCESS_DENIED/ns2:errorString

ns2:ApiError.TypeAuthorizationError/ns2:ApiError.Type
ns2:reasonSERVICE_ACCESS_DENIED/ns2:reason
/ns2:errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

What am I doing wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.