Hi,
Im using google ads api REST in an angular + node app.
I can modify final_urls from google ads but not expanded_text_ad
properties. I tried several paths and I cant achieve it.
This is part of my code in node with the endpoint and payload object:
const url = 'https://googleads.googleapis.com/v6/customers/' +
dataIn.customerId + '/ads:mutate';
let data = {
"operations": [
{
"updateMask": "final_urls, expanded_text_ad.description",
"update": {
"resourceName": dataIn.advert['ad']['resourceName'],
"final_urls": dataIn.advert['ad']['finalUrls'],
"expanded_text_ad": {
"description":
dataIn.advert['ad']['expandedTextAd']['description']
}
}
}
]
};
I read this documentation about fieldMask but i dont know what im doing
wrong:
https://github.com/protocolbuffers/protobuf/blob/master/php/src/Google/Protobuf/FieldMask.php
Can you help me?
PD: I know that client libraries generates fieldMasks path but i cant use
them.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8de90d2e-de5f-4697-8507-78fa8170c0d0n%40googlegroups.com.