To bump this thread, note that it's of course possible to just send the 
full set of custom parameters excluding the unwanted one in an update 
operation, which will essentially remove the omitted parameter. Still 
wondering whether there is more elegant way of doing this.

On Friday, 25 February 2022 at 16:56:21 UTC+1 Dorian Kind wrote:

> Hello,
>
> in the Adwords API, Custom Parameters can be removed by sending an update 
> operation with the "isRemove" flag 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.CustomParameter>
>  
> set.
>
> In the Ads API, this flag doesn't exist 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/CustomParameter>.
>  
> Setting the Custom Parameter's "value" field to the empty string will not 
> remove it and just omitting it (only sending the "key"  attribute) causes 
> an "INVALID_ARGUMENT" error with the explanation "Custom parameter value 
> cannot be null".
>
> How do I go about removing existing Custom Parameters from a campaign (or 
> ad group, ad, keyword etc.)?
>
> Thanks & best regards
> Dorian
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/675d204e-c50d-4528-9efa-e38f14eb7bb7n%40googlegroups.com.
  • Ho... Dorian Kind
    • ... Dorian Kind
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Dorian Kind

Reply via email to