Hi,

Thank you for reaching out to the Google Ads API support team.

Yes, we can obtain the objective of a campaign by using the GAQL query.  I 
would recommend you to kindly refer to the campaign_conversion_goal to retrieve 
the objective of a campaign by using the Google Ads API. Please find the sample 
GAQL query as per your requirement:

SELECT campaign_conversion_goal.campaign, campaign_conversion_goal.category, 
campaign_conversion_goal.origin, campaign_conversion_goal.biddable, 
campaign.id, 
campaign.name FROM campaign_conversion_goal

You can use the search or searchStream methods for making the API calls while 
retrieving the data. Also, I would suggest you to refer to the Campaign goals 
documentation for more information. Additionally, you can utilize the Google 
Ads Query Builder and Query Validator to build and validate the queries for 
retrieving the data from the Google Ads API.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ1Rg:ref" 
(ADR-00235564)

Thanks,

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/QCD9P000000000000000000000000000000000000000000000SDS7MD00KEIFQToLRTKob5hplmIFYA%40sfdc.net.
  • Ge... Rajat Singh
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Rajat Singh

Reply via email to