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é

Le vendredi 23 novembre 2018 06:10:28 UTC+1, Ryan J a écrit :
>
> 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 
> <https://github.com/googleads/googleads-php-lib/blob/1bc9b1c6c972a39fc91eb6747a94f72c58abdead/examples/AdWords/v201809/BasicOperations/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.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a494652f-672d-482b-986e-ec629ec505b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Ryan J
    • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... dearaujoj

Reply via email to