Hello Alexander,

You can refer this APi call example mentioned here
<https://developers.google.com/google-ads/api/docs/concepts/call-structure#api_call_example>,
which will give the response in JSON format, when you make API call using
CURL operations. For example you could try the below CURL operation to get
details of a campaign.

*CURL example to get Campaigns:*

curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN"      -H "developer-token:
DEVELOPER_TOKEN"      -H "Content-Type: application/json"
https://googleads.googleapis.com/v1/customers/<CUSTOMER_ID>/googleAds:search
    --data '{query: "SELECT campaign.id, campaign.name FROM campaign ORDER
BY campaign.id"}'

Please let me know if you have any further questions.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0l0h00000000008ovi80001f1ftcw6smjachk6ko30c1g68r34chj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • How to ... Alexander Belozerov
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... Rahul Kumar
      • ... 'UK Analytics' via AdWords API and Google Ads API Forum
    • RE... Google Ads API Forum Advisor Prod

Reply via email to