Hi,

To extract campaign data with "PAUSED" status by using segments. Kindly refer 
to the below sample query:

{

  "query": "SELECT campaign.id, campaign.name, segments.date, campaign.status, 
metrics.impressions 
FROM campaign WHERE campaign.status = 'PAUSED' and segments.date between 
'2024-02-10' and '2024-04-30'"

}

I have tried the above query from my end and I am able to get the PAUSED status 
for a campaign.

You can try making a request using the Method: customers.googleAds.search and 
Method: customers.googleAds.searchStream. Also, you can use Query Builder to 
create your query and Query Validator to validate your query.

Kindly note that to get the paused status you need to add campaign.status in 
place campaign_criterion.status.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tPGji:ref" 
(ADR-00231983)

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/-v-jU000000000000000000000000000000000000000000000SCRC0U00V7hfIgHpQlCjf0dB8t7fVQ%40sfdc.net.
  • Un... digitalreachpremium premium
    • ... digitalreachpremium premium
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... digitalreachpremium premium
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... digitalreachpremium premium
              • ... digitalreachpremium premium
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... digitalreachpremium premium
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to