Hi,
Thanks for your response, but i think that i cant do so much with this info:
"GoogleAdsGoogleadsV6Services__AdOperation": {
"id": "GoogleAdsGoogleadsV6Services__AdOperation",
"properties": {
"update": {
"$ref": "GoogleAdsGoogleadsV6Resources__Ad",
"description": "Update operation: The ad is expected to have a valid resource name in this format: `customers/{customer_id}/ads/{ad_id}`"
},
"updateMask": {
"format": "google-fieldmask",
"description": "FieldMask that determines which resource fields are modified in an update.",
"type": "string"
}
},
"type": "object",
"description": "A single update operation on an ad."
},
I read this google groups thread
https://www.mail-archive.com/adwor...@googlegroups.com/msg83318.html where in fieldMask uses () to name all fields of a compound object. If I do this i dont receive an error response but the fields doesnt update:
let data = {
"operations": [
{
"updateMask": "finalUrls, expandedTextAd()",
"update": {
"resourceName": dataIn.advert['ad']['resourceName'],
"finalUrls": dataIn.advert['ad']['finalUrls'],
"expandedTextAd": {
"description": dataIn.advert['ad']['expandedTextAd']['description'],
"description2": dataIn.advert['ad']['expandedTextAd']['description2'],
"headlinePart1": dataIn.advert['ad']['expandedTextAd']['headlinePart1'],
"headlinePart2": dataIn.advert['ad']['expandedTextAd']['headlinePart2'],
"headlinePart3": dataIn.advert['ad']['expandedTextAd']['headlinePart3']
}
}
}
]
};
Do you have any idea?
Thanks