get a list of campaigns connected to a specific account

18 views
Skip to first unread message

Anastasia Goncharova

unread,
Aug 23, 2016, 6:10:42 AM8/23/16
to AdWords API Forum
So I've called GetAccountHierarchyExample and selected one of accounts listed. I only have this account's ID. But now I want to get an array of campaigns connected to this particular account, what should I do? For example, the ID is 1234567.
I'm using PHP Laravel 5.2, v201607 API lib

Peter Oliquino

unread,
Aug 23, 2016, 6:38:02 AM8/23/16
to AdWords API Forum
Hi Anastasia,

You may refer to our GetCampaigns example in PHP. Please note that you will also need to put the account ID in the clientCustomerId field of your auth.ini file. Should you find any other issues, please feel free to contact us.

Cheers,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages