Thank you for your help!
I will try this and get back to you. Regarding the client library, i have
raised the concern already, but i did not get the reply from them. If i get
one i will check that too

On Thu, 23 Apr 2020 at 02:32, Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Greetings!
>
> If you really want to try all of this with curl, you can do this. Please
> replace the <INSERT...> with your own information. The first command gets
> you the access token, which you insert into the second command. The second
> gets you the report you needed.
>
> curl --data
> "refresh_token=<INSERT_REFRESH_TOKEN>&client_id=<INSERT_CLIENT_ID>&client_secret=<INSERT_CLIENT_SECRET>&grant_type=refresh_token"
> -X POST "https://www.googleapis.com/oauth2/v3/token";
>
> curl --header "Authorization: Bearer <INSERT_ACCESS_TOKEN>" --header
> "developerToken: <INSERT_DEVELOPER_TOKEN>" --header "clientCustomerId:
> <INSERT_CLIENT_CUSTOMER_ID_WITH_DASHES>" --header "clientSecret:
> <INSERT_CLIENT_SECRET>"
> https://adwords.google.com/api/adwords/reportdownload/v201809 --data
> "__rdquery=SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM
> AD_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] DURING
> LAST_7_DAYS&__fmt=CSV"
>
> Even though it's possible to do this on the command line, I do agree with
> Danica that if you can get that client library working, it's a lot more
> friendly.
>
> Cheers,
> Nadine Wang, Google Ads API Team
>
> ref:_00D1U1174p._5001UZZ3XI: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/CALa6Yssw_uDxvN%3DsPATctTY3s7fBijdTHQd9%3DaS5_-QBRaU9_Q%40mail.gmail.com.

Reply via email to