search for the campaign id in that account. 

https://github.com/googleads/google-ads-php/blob/main/examples/BasicOperations/GetCampaigns.php

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.

https://github.com/googleads/google-ads-php/blob/main/examples/BasicOperations/GetAdGroups.php


On Saturday, 24 December 2022 at 00:05:54 UTC+5:30 luiz...@mercadolivre.com 
wrote:

> sorry, (only inside of account)
>
> On Friday, December 23, 2022 at 3:01:57 PM UTC-3 subin...@gmail.com wrote:
>
>> There are no campaigns inside MCC accounts
>>
>> On Friday, 23 December 2022 at 23:29:39 UTC+5:30 luiz...@mercadolivre.com 
>> wrote:
>>
>>> 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!
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fc019b08-6ea1-45c6-b964-caf13ed5a5a4n%40googlegroups.com.
  • Ho... 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
    • ... SUBIN P VASU
      • ... 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
        • ... SUBIN P VASU
          • ... 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
    • ... SUBINPVASU
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to