How to make a query to validate if campaign id exists?

56 views
Skip to first unread message

Luiz Eduardo Da Cruz

unread,
Dec 23, 2022, 12:59:39 PM12/23/22
to Google Ads API and AdWords API Forum
Hey, how are u?

I would like to know how I can make a query that validates if there is a campaign id inside an account, this account can be mcc or even mcc manager.

Thanks!

SUBIN P VASU

unread,
Dec 23, 2022, 1:01:57 PM12/23/22
to Google Ads API and AdWords API Forum
There are no campaigns inside MCC accounts

Luiz Eduardo Da Cruz

unread,
Dec 23, 2022, 1:35:54 PM12/23/22
to Google Ads API and AdWords API Forum
sorry, (only inside of account)

SUBIN P VASU

unread,
Dec 24, 2022, 7:30:42 AM12/24/22
to Google Ads API and AdWords API Forum
search for the campaign id in that account.


this will help you get all the campaigns from the Google Ads account.
You can use the following example to use it for specific campaign id.

Luiz Eduardo Da Cruz

unread,
Dec 24, 2022, 6:10:25 PM12/24/22
to Google Ads API and AdWords API Forum
Thank you!

SUBINPVASU

unread,
Dec 27, 2022, 8:51:11 AM12/27/22
to luiz...@mercadolivre.com, Google Ads API and AdWords API Forum
There are no campaigns inside MCC or manager accounts.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/3b83cef8-b0fa-4fe5-9095-ce1acd0af21dn%40googlegroups.com.


--
subinpvasu
9495546474
GitHub : bit.ly/2SYcxbF
LinkedIn  : bit.ly/2So3Ulk
 Freelancer : bit.ly/3iE6ALV

Google Ads API Forum Advisor

unread,
Dec 27, 2022, 1:02:34 PM12/27/22
to subin...@gmail.com, luiz...@mercadolivre.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

With regards to your concern, you can use campaign report using the campaign.id field. Let me know if this what you are looking for. If not, could you please provide full screen screenshot of the UI? So that i can further investigate the issue. Please reply via privately author options.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2hNJrd:ref
Reply all
Reply to author
Forward
0 new messages