Hi Ales, For general information on migration to the Google Ads API, you can refer to this guide. As for the login-customer-id, this should be the customer ID in which the user (email address) you used to generate the OAuth2 credentials is associated to.
To elaborate, if your access to the customer account is through a manager account (OAuth2 credentials created using a user that has access to your manager account), this header is required and must be set to the customer ID of the manager account. You will then need to specify this in your ads.properties file, where your other credentials are placed. You may refer to this client library setup guide for more information on the said properties file. That said, referring to your scenario, there is no way via the API to extract this programmatically. You will need to identify which account you used to authenticate and you will have to specify it in your configuration as discussed in the above. Thanks, Peter Laurence Napa Oliquino Google Ads API Team ref:_00D1U1174p._5004Q274dVu: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 "AdWords API and Google Ads 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/0gAgW000000000000000000000000000000000000000000000QIUK9Y00wghhh1lcSEKCexRlSlLBKA%40sfdc.net.
