RE: Questions About Implementing Google Ads API

46 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Jan 16, 2022, 9:23:47 PM1/16/22
to hust...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for your questions. You may refer below for my responses :

1) The PHP Google Ads Client Library is needed for the Google Ads API to work, right? https://developers.google.com/google-ads/api/docs/client-libs/php

If the PHP client library is what you will be using, then you may indeed refer to the guide above on how to set it up. You can also opt to use the REST interface instead, as an alternative.

2) We need to use OAuth2 for authentication before making API requests, right?

Yes, you will need to setup your cloud project and then generate your credentials, and then complete the configuration, in order to authenticate your API requests.

3) Is the variable "$customerId" the same as the Ads Manager ID (MCC) or the Account ID?

The customerId should be the account ID of the account you wish to manage or make calls against, using the API.

4) If we work with Manager Accounts (we create the Conversions in the MCC and then share them with the Ad Accounts), should we take something in particular into consideration?

For this scenario, I would recommend that you explore the cross-account conversion tracking feature.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Uk2Q0:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Jan 17, 2022, 1:35:09 PM1/17/22
to hust...@gmail.com, adwor...@googlegroups.com
Hi,

I work with Peter. You have received an answer on the new thread. Feel free to get back to us.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


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