So, you get experience points
These actions will bring you experience points:
- The Hack of an enemy portal will bring you 100 AP, neutral, or friendly portals bring no experience points.
- They charge a Portal, you get 10 AP.
- If you place the first Resonator on a Portal, you get 500 AP. The last Resonator 250 AP, the other 125 AP.
- A Resonator upgrade, no experience points, in the case of foreign Resonators that gives 65 AP.
- You link two portals, you get 313 AP.
- You have to establish a Control Field, you receive an additional 1250 experience points.
- A destroyed Resonator brings 75 AP, a destroyed a Link 187 AP, a destroyed Control Field brings 750 AP.
The experience points (AP) are not to be confused with the Exotic Matter, short-XM you need for every action in Ingress. The XM you collect with your game Client while you run through the area. The higher your Level is, the more XM you can pick up.
The rules of the game of Ingress read here.
