Ads API unable to pull a campaigns target ROAS

57 views
Skip to first unread message

Ali Arif

unread,
Apr 9, 2024, 9:16:18 PM4/9/24
to Google Ads API and AdWords API Forum
Hey there,

I am currently using the Ads API through the REST API.

I have written a small GAQL Query which works as expected other than the target ROAS

My GAQL query - 

SELECT campaign.id, campaign.name, campaign_budget.id, campaign_budget.amount_micros, campaign.target_roas.target_roas, campaign.status FROM campaign

Now this returns results as expected but it does not return the target ROAS

This is what is returned in the results 

results=[{campaignBudget={resourceName=customers/xxx/campaignBudgets/xxx, id=xxx, amountMicros=10000000}, campaign={id=xxx, resourceName=customers/xx/campaigns/xx, name=Dynamic Test - 3, status=ENABLED}}]}]



Google Ads API Forum Advisor

unread,
Apr 10, 2024, 11:41:19 AM4/10/24
to ali....@g4m.co.uk, adwor...@googlegroups.com
Hi,

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

I could see that you have redacted the information such as customer ID, campaign Budget and resourceName. In order to replicate the issue from our end, provide us with the uncropped screenshot of the Google Ads account by highlighting the target ROAS field and complete API logs (request and response with request-id and request header) generated at your end so that we can investigate why the target ROAS is not returned in response.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tOzPq:ref" (ADR-00230577)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages