Re: How to Remove Custom Parameters in the Ads API

2022-03-01 Thread Dorian Kind
Thanks for the confirmation, Matt.

On Tuesday, 1 March 2022 at 17:22:14 UTC+1 adsapi wrote:

> Hi Dorian,
>
> Thanks for reaching out. As you pointed out, there isn't a field to set 
> the status of an existing custom parameter. To remove a single parameter 
> from the list, you will have to make an update request that only includes 
> the custom parameters that you wish to be included.
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Wz985: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4bd902f8-844a-486c-93d7-2b93d2668c16n%40googlegroups.com.


RE: How to Remove Custom Parameters in the Ads API

2022-03-01 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Dorian,

Thanks for reaching out. As you pointed out, there isn't a field to set the 
status of an existing custom parameter. To remove a single parameter from the 
list, you will have to make an update request that only includes the custom 
parameters that you wish to be included.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2Wz985: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/lfdoh0R82QS000Cox0Yf0HREyoDAG53m8Ovw%40sfdc.net.


Re: How to Remove Custom Parameters in the Ads API

2022-03-01 Thread Dorian Kind
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 
> 
>  
> set.
>
> In the Ads API, this flag doesn't exist 
> .
>  
> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/675d204e-c50d-4528-9efa-e38f14eb7bb7n%40googlegroups.com.


How to Remove Custom Parameters in the Ads API

2022-02-25 Thread Dorian Kind
Hello,

in the Adwords API, Custom Parameters can be removed by sending an update 
operation with the "isRemove" flag 

 
set.

In the Ads API, this flag doesn't exist 
.
 
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f6384c20-a51e-4712-a4b1-1a7142054380n%40googlegroups.com.