Hi,

Thank you for your response.

I just wanted to clarify that the campaign I'm referring to is currently in 
*paused* status and has *never been published or served any impressions*. 
I’ve also set up conversion actions separately.

As per your suggestion, I tried using segments.conversion_action, but from 
my understanding, segment fields like this will only return data *when 
there is actual performance data available*, such as conversions or 
impressions. Since the campaign hasn’t run yet, I believe this might be why 
the query is returning no results.

*What I’m trying to achieve is to fetch the conversion actions associated 
or linked to the campaign, even if no conversions have occurred yet. Is 
there a recommended way to retrieve that information under these 
conditions?*

Thanks again for your support.
On Thursday, April 17, 2025 at 7:05:57 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> You can use this sample query from the *campaign* 
> <https://developers.google.com/google-ads/api/fields/v19/campaign_query_builder>
>  
> resource to get the conversion actions associated with the campaign.
>
>
> SELECT segments.conversion_action, segments.conversion_action_name, 
> segments.conversion_action_category, campaign.id, campaign.name FROM campaign 
> WHERE campaign.name = 'Your campaign name'
>
> You can substitute <your_campaign_name> with the actual campaign name for 
> which you need to retrieve the conversion actions.
>
> Additionally, once you get the conversion action resource name from the 
> previous query, you can query the *ConversionAction* 
> <https://developers.google.com/google-ads/api/fields/v19/conversion_action_query_builder>
>  
> resource to get more detailed information about the conversion action, 
> including its type.
>
>
> SELECT conversion_action.id, conversion_action.name, conversion_action.type 
> FROM conversion_action WHERE conversion_action.resource_name =  
> '<your_conversion_action_resource_name>'
>
> Replace this conversion_action.resource_name with the actual resource name 
> of the conversion action obtained from the previous query.
>
> You can try making a request using the *Search* 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v17/customers.googleAds/search>
>  
> or *SearchStream* 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v17/customers.googleAds/searchStream>
>  
> by passing the customer Id. Also, you can use *Query Builder* 
> <https://developers.google.com/google-ads/api/fields/v14/customer_search_term_insight_query_builder>
>  
> to create your query and *Query Validator* 
> <https://developers.google.com/google-ads/api/fields/v14/query_validator> 
> to validate your query. 
>
> I hope this helps!
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
> Feedback
> How was our support today? 
>
> [image: rating1] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001pTDA6IAO>
>   
>   [image: rating2] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001pTDA6IAO>
>   
>   [image: rating3] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001pTDA6IAO>
>   
>   [image: rating4] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001pTDA6IAO>
>   
>   [image: rating5] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001pTDA6IAO>
> [2025-04-17 13:35:12Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!500Ht01pTDA6:ref" (ADR-00300266)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/7dff2466-c47f-4e2c-8cfc-9769bf35c291n%40googlegroups.com.
  • Re... Amit Tomar
    • ... Amit Tomar
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to