Unable to Retrieve HeadlinePart3 and Description2 through AWQL (PHP v201809)

21 views
Skip to first unread message

Ryan J

unread,
Nov 23, 2018, 12:10:28 AM11/23/18
to AdWords API and Google Ads API Forum
I'm working with the Adwords API and while I'm creating ads with HeadlinePart3 and Description2's, I'm unable to fetch them with the API. 

I've had this issue inside my app—which uses AWQL—as well as through the example code found online for googleads/googleads-php-lib GetExpandedTextAds.php—which uses the more formal Predicate methods.

For HeadlinePart3, the api throws:

Google\AdsApi\AdWords\v201809\cm\ApiException: [SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'HeadlinePart3']

For Description2, the api does not error but returns null. 

It seems that when we run mutations on these AdGroupAds, we get the information back—but are unable to fetch the information without making a second call to disable, and re-enable ads. 

I have confirmed through the GoogleAds interface that the ads have a HeadlinePart3 and a Description2 set.

Peter Oliquino (AdWords API Team)

unread,
Nov 23, 2018, 12:57:24 AM11/23/18
to AdWords API and Google Ads API Forum
Hi Ryan,

So I can further investigate, could you provide to me the complete SOAP request and response logs that were generated when this occurred? You may reply to me via the Reply privately to author option.

Thanks and regards,
Peter
AdWords API Team

dearaujoj

unread,
Jan 12, 2019, 8:14:53 AM1/12/19
to AdWords API and Google Ads API Forum
Hi,

just in case someone is also facing this error, the selector must be ExpandedTextAdHeadlinePart3 or ExpandedTextAdDescription2 in order to get those fields in the results.

Cheers
josé
Reply all
Reply to author
Forward
0 new messages