Hi,

I'm trying to add a *shared exclusion list* (shared set) at the *account 
level* programmatically using the Google Ads API, but I haven't found a 
direct way to do this. Could you please provide guidance on how to add a 
shared set at the account level from code?

Additionally, I have a shared set created at the *MCC (root account)* 
level, and when I try to apply it to a campaign, I get the following error 
both through the UI and the API:

*Error from the UI*: EntityNotFound.INVALID_ID – "SharedSet not found or 
not allowed to be attached to a campaign"
*Error from the API*: "Resource not found" or similar error.

I've tried both scenarios:

   1. When the shared set is *shared* with the sub-account.
   2. When the shared set is *not shared* with the sub-account.

In both cases, I encounter errors when trying to add the shared set to a 
campaign.

*Questions*:

   - What is the correct way to handle shared sets when trying to apply 
   them to a campaign (whether shared or not)?
   - How can I programmatically add a shared set at the *account level* via 
   the API?
   - What could be causing the "resource not found" issue in both the API 
   and UI when attempting to apply the shared set to a campaign?

Any help or clarification on the correct process for handling shared sets 
at the account and campaign levels via the API would be appreciated!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6bc27cc4-9313-4180-9fd2-d2dd53bdc24bn%40googlegroups.com.
  • Ho... Lóránd Balog
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Lóránd Balog

Reply via email to