API returns campaign_ids from deleted campaigns

88 views
Skip to first unread message

marius fall

unread,
Sep 13, 2023, 10:18:21 AM9/13/23
to Google Ads API and AdWords API Forum
 Hi,

I have a discrepancy in the API results VS the interface for my exclusion lists.

For instance, the exclusion list enclosed has only 2 campaigns linked (so 2 campaign ids associated) but the API results returns 3 campaign ids.

The third one was an old campaign that I've dissociated from the exclusion list but the API keeps returning it as if it was still associated.

I've also tested to add and remove a campaign id from the interface : after the removal, the API keeps returning the campaign id of this campaign.

So instead of having 2 campaign ids associated with the exclusion list, I have now 4 ids (2 are not linked to my campaign id anymore).

Can you help me please ?

Thanks


Screenshot 2023-09-13 at 15.22.57.png
Screenshot 2023-09-13 at 15.23.32.png

Google Ads API Forum Advisor

unread,
Sep 14, 2023, 5:25:46 AM9/14/23
to mariu...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for contacting the Google Ads API support team.

By reviewing your concern, I understand that you are facing the data discrepancy between API and UI for exclusion lists. In order to investigate your issue further, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end and uncropped UI screenshot of where you are facing the issue.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2okx44:ref"

Thanks,
 
Google Logo Google Ads API Team


marius fall

unread,
Sep 18, 2023, 9:05:11 AM9/18/23
to Google Ads API and AdWords API Forum
Hi,

I write just to let you know that I've found the solution here : https://developers.google.com/google-ads/api/fields/v14/campaign_shared_set

In order to filter out the results, I had to specify the status "ENABLED" in the where clause of my API call.

Best regards,
Reply all
Reply to author
Forward
0 new messages