Opteo/google-ads-node

Setting ad.url_custom_parameters

LoveMHz opened this issue · 2 comments

I'm submitting a ...

  • bug report
  • feature request
  • question about the decisions made in the repository
  • question about how to use this project

Summary

Setting a url_custom_parameters throws error:
Error: Field 'ad.url_custom_parameters' cannot be modified by 'UPDATE' operation.

await customer.adGroupAds.update({
    resource_name: 'customers/00000000/adGroupAds/00000000~00000000',
    ad : {
    url_custom_parameters: [
        { key:'test',  value: 'test_value' },
    ],
    }
});

Other information

Is this possibly related to Repeated types?
Working with Protobuf Types - Repeated types

Hi @LoveMHz , thanks for reporting this and apologies for the delayed reply! Myself and the team were away in Berlin for JSConf.

I'm going to take a further look into this, and will update you soon 👍

Hi @LoveMHz , the error messages seems to suggest that the field url_custom_paramters cannot be updated, so I don't think this is related to any issues with repeated types, which should work fine in this library.