Hi,

Thanks for reaching out to the Google Ads API Forum. I hope you are doing well 
today.

We are glad to help you with your concern.

“Is it the 10-digit account ID of the account we wanna get campaigns from?”

>> yes you are correct. The client customer ID is the account number of the 
>> Google Ads client account you want to manage with the API, usually in the 
>> form 123-456-7890.

Kindly note that the PHP client library takes care of access_token and we don't 
need to generate it. Note that following example is to generate refresh token 
which is required for the API request as mention in this guide: 
https://developers.google.com/google-ads/api/samples/generate-user-credentials.

class GetCampaigns
{
private const CUSTOMER_ID = '1234567890';
public static function main()
{

I hope it helps. Let me know if you have further questions. Have a great day.

Regards,

Marjorie
Google Ads API Team
ref:_00D1U1174p._5004Q2hLoyu:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/TOqm1000000000000000000000000000000000000000000000RN6R8900H-SJU_WFR8aXs2UfRAVQyA%40sfdc.net.
  • Go... Ihadavision
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to