title: How to create ads using google adwords API?
body: <p>Basically, I have a list of keywords, such as:</p>
  <pre><code>- red balloons
  - free red balloons
  - buy red balloons
  - blue balloons
  - ....
  </code></pre>
  <p>for each keyword, I have a list of 3-4 ads, each ad consisting of a title, line 1, line 2, and a url, e.g:</p>
  <blockquote>
  <p>Title: Free red balloons!</p>
  <p>Line 1: Buy free red balloons right now!</p>
  <p>Line 2: No hidden fees!</p>
  <p>Url: <a href="http://example.com" rel="nofollow noreferrer">http://example.com</a></p>
  </blockquote>
  <p>I have 3-4 such ads for every keyword.</p>
  <p>Using the API, I want to:</p>
  <pre><code>1) Create an adgroup for every keyword
  2) Under the adgroup, upload all the ads for that particular keyword. 
     So all the ads for `free red balloons` would go under that keyword's adgroup.
  </code></pre>
  <p>I'm looking for some general pointers/links to API pages for the methods which I'll need to use to accomplish this. Specifically I'm using PHP and the Apility library, but non-php specific info will also be very much welcome.</p>