The best approach to avoid office politics is to not involve your self with it. Just be a good worker, come in on time, leave on time. Just work 40hrs and do just the job outlined in your job description. Do not involve your self in initiatives, unpaid work, or declare a preference for assignments. Do not expect a promotion or dramatic pay raises. Live your best life outside of work and find a new employer when your current one no longer suits you.