How to create MCC account using google adwords api in php

80 views
Skip to first unread message

Shobhan Babu

unread,
Feb 2, 2015, 1:06:18 AM2/2/15
to adwor...@googlegroups.com

Hi ,

I have google adwords account and I have successfully integrated with adwords api in php.But now I want to implement it for the MCC account ,How can we achieve this thing by google adwords api in php ..


Thank you

Anash P. Oommen (AdWords API Team)

unread,
Feb 2, 2015, 1:37:30 AM2/2/15
to adwor...@googlegroups.com
Hi Shobhan,

You have to be a bit more specific about what you want to do with an MCC account. The most common use case is to fetch all accounts in the MCC, allow user to pick an AdWords account, and then perform campaign management operations on it. You can find relevant code examples in https://github.com/googleads/googleads-php-lib/tree/master/examples/AdWords/v201409/AccountManagement. The way you make API calls are similar - you use an OAuth2 access token for your MCC account instead of AdWords account, and set clientCustomerId SOAP header to the relevant AdWords account when making the call.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Richest Soft

unread,
Jul 20, 2016, 4:25:21 AM7/20/16
to AdWords API Forum, sho...@multipliersolutions.in
please tell me how to integrated with adwords api in php ???

Anash P. Oommen (AdWords API Team)

unread,
Jul 21, 2016, 2:44:14 PM7/21/16
to AdWords API Forum
Hi,

You could start with the instructions at our getting started guide. It covers all the details you need to know to get started with AdWords API. We provide a client library in PHP so that it is easy to work with the API. You can download it from https://github.com/googleads/googleads-php-lib. The README of the project has detailed instructions on how to setup the project, dependencies, etc.

Feel free to go through those guides, and follow up with more specific questions, and I'll gladly help you out.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Reply all
Reply to author
Forward
0 new messages