Hi Aravin,
In AdWords Scripts, you can use the customer ID as filter for the campaigns but you can't use it to know the account type. As for my understanding, you want to know if an account is a manager or a client account. To know if the account you're on is a manager or a client account, see below.
Old Interface:
- Do look at the upper left part of your window and locate your account name and CID. The account type will be shown (either Manager or Client Account). See attached photo (account type old interface.png) for more details.
New Interface:
- Do look at the upper left part of your window and locate your account name and CID. To know if it is a manager account, the upper part of your window should list all client accounts (See account type new interface manager account.png). For client accounts, all campaigns will be listed on the upper part of your window. (See account type new interface client account.png)
I suggest for you to read our
documentation on how to get started using AdWords Scripts and to
open up a new thread for new topics for better tracking.
As previously mentioned, the script works fine on my end. A possible reason why there are no logs is because you are running the script on a Manager level. Another reason would be there are no duplicate keywords per campaign. Please refer to my previous reply as I explained these briefly there. Also, as previously mentioned, do give me your CID and script name, as well as more information (i.e. campaign name and specific duplicate keywords that should have been logged by the script) via Reply privately to author since it seems that you are still experiencing issues.