Hi JC,

Yes, validation of your extensions should be done separately from removal 
of extensions. However, for adding of extensions, you might not need to 
validate because the ADD and SET operator for 
AdGroupExtensionSettingService.mutate() 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupExtensionSettingService#mutate>
 are 
treated identically so if you try to ADD an existing extension, it will 
just be treated as a SET operation.

As for your last statement, I want to clarify that you want to have the 
option to send a single operation for adding or removing of extensions to 
multiple ad groups wherein you can specify an array of ad groups and array 
of extensions in a single operation? I will try to raise this to the team 
but I can't guarantee that it will be added to future release.

However, you may try to achieve similar behavior by:

   1. Getting the list of ad groups
   2. Traversing through each ad group and validate existing extensions 
   (validation could possibly be for REMOVE operation only)
   3. Perform multiple separate REMOVE or ADD operation of extensions to 
   each ad group

The decision to do Step 3 synchronously via AdGroupExtensionSettingService 
or asynchronously via BatchJobService or your own mechanism depends on your 
design. In addition, here's a guide 
<https://developers.google.com/adwords/api/docs/guides/extension-settings> in 
managing ad extensions via Extension Setting Services.

Regards,
Ivan
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87d14cb8-7ce2-4e5f-b709-53abed6a1ae7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to