Call to action is blank when pulling Ads data

17 views
Skip to first unread message

Matt Dworkin

unread,
Jul 20, 2022, 4:44:09 PM7/20/22
to Google Ads API and AdWords API Forum
Hello, 

I'm trying to pull a bunch of Ads data, and I have everything working with the exception of the call_to_action_text. It always returns null, even though it isn't null in the UI.

In my GAQL I'm using the following field: `ad_group_ad.ad.discovery_multi_asset_ad.call_to_action_text`, and selecting from ad_group_ad. 

When I parse the row I'm using getCallToActionText() off of the DisplayMultiAssetAdInfo object, as defined here: https://github.com/googleads/google-ads-php/blob/41382c1419a78d98821b67b52a5f47d615a131b2/src/Google/Ads/GoogleAds/V10/Common/DiscoveryMultiAssetAdInfo.php#L358

Is there something wrong with the way I'm selecting the field in the GAQL? Is there another way to get this data?

Thanks for your help.

Best,
Matt 

Google Ads API Forum Advisor

unread,
Jul 20, 2022, 9:53:58 PM7/20/22
to mdwor...@gmail.com, adwor...@googlegroups.com
Hi Matt,

Thank you for raising this concern to the Google Ads API team.

Moving forward to your concern, could you provide the complete request and response logs with request ID and request header generated on your end so our team can better check and investigate this?

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bmAYP:ref
Reply all
Reply to author
Forward
0 new messages