Thanks for your response.
Im not using Node.js client library, Im just using REST.
The payload sended is something like this:
{"operations":[{"updateMask":"final_urls,
expanded_text_ad","update":{"resourceName":"customers/193635XXXX/ads/4897XXXXXXX","final_urls":["http://xxxxx.es/anuncio-ed"],"expanded_text_ad":{"description":"Mejor
pollo a domicilio en 30 minutos 1"}}}]}
And this is the response:
{"code":400,"message":"Request contains an invalid
argument.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure","errors":[{"errorCode":{"fieldMaskError":"FIELD_NOT_FOUND"},"message":"The
field mask contained an invalid field: '
expanded_text_ad'.","location":{"fieldPathElements":[{"fieldName":"operations","index":0}]}}]}]}
Is possible check generated fieldMasks client libraries by resource or
something like this?
Thanks
El lunes, 4 de enero de 2021 a las 23:51:32 UTC+1, adsapiforumadvisor
escribió:
> Hi Antonio,
>
> Thank you for reaching out. Could you please confirm you are not making
> API calls using the third party Node.js client library? Please make sure
> the resource name you are using is following this pattern:
> customers/{customer_id}/ads/{ad_id}. Please also give it a try to use
> expanded_text_ad instead of expanded_text_ad.description for the updateMask
> field.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
> [image: Google Logo]
> Xiaoming
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2AH7Zp:ref
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/659e5f69-a743-4625-b1f4-088e7874a63bn%40googlegroups.com.