Hi Praduman,
Thank you for reaching out. Have you gone through the steps to sign up your account and make your first api call? If so, you should be able to get your manager account ID from the Google Ads UI. You can insert this ID where it says “api.adwords.clientCustomerId=” in the “properties” file within the “resources” folder. You can follow this example to get all the accounts under your manager account.
Regards,
Anthony
Google Ads API Team
Hi Praduman,
Yes, the only way to get the clientCustomerId of the manager account is manually through the UI. Once you have that ID, you can retrieve all the clientCustomerId’s of the clients dynamically through the API.
Regards,
Anthony
Google Ads API Team
Hi Praduman,
It looks like the CID you provided in the screenshot is for a client account. In order to retrieve all the accounts, you need the CID of your manager account. If you go to the UI, click Account & Settings -> Account access -> Managers to get the desired CID of the account you want to check. Once you put this into your application, you can follow this example to get all the accounts under your manager account.
Regards,
Anthony
Google Ads API Team
Hi Niti,
You can get the currency of the account by selecting the AccountCurrencyCode from the Account Performance Report. See this sheet for the currency code conversions.
Regards,
Anthony
Google Ads API Team
|
|