Hi,

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

You can use the below sample query to retrieve the status of the campaign. 
Please note that the status of the campaign (21694145989) is "ENABLED".

SELECT campaign.status, campaign.name, campaign.resource_name, campaign.id, 
campaign.primary_status, campaign.serving_status, 
campaign.primary_status_reasons FROM campaign WHERE campaign.id = 21694145989

You can use the search or searchStream methods in making the API calls while 
retrieving the data. Additionally, you can utilize the Google Ads Query Builder 
and Query Validator to build and validate the queries in the Google Ads API.

I would recommend you refer to this guide on 'campaign' for more information 
regarding the fields/metrics/segments that can be used with the campaign 
resource.

I hope this helps.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vG8cy:ref" 
(ADR-00268177)

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/tC2CL000000000000000000000000000000000000000000000SJW7OR00IvXTn_BoR-WU1h4OUXJW_g%40sfdc.net.
  • Ho... Phuong Nguyen
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Phuong Nguyen
      • ... Phuong Nguyen

Reply via email to