Hi, This is certainly possible via the API, but I'm not sure it is the best overall solution. First, something to be aware of is that there is a limit of 2000 ad groups per campaign:
http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=40907 Depending on the number of keywords you have this may pose a problem for you. Secondly, there is a feature of AdWords called Keyword Insertion that may allow you to simplify your approach: http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=74996 This feature allows you to take the keyword that triggered an ad and inject it into the ad text (as well as providing a default value). Title: Free {keyword:stuff}! Line 1: Buy free {keyword:stuff} right now! Line 2: No hidden fees! Url: http://example.com If all your ads follow a very similar pattern you can use this feature to consolidate down to a much smaller number of ads and ad groups. Best, - Eric Koleda, AdWords API Team On Oct 21, 6:54 am, google400 <[email protected]> wrote: > Basically, I have a list of keywords, such as: > > - red balloons > - free red balloons > - buy red balloons > - blue balloons > - .... > > 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: > > Title: Free red balloons! > > Line 1: Buy free red balloons right now! > > Line 2: No hidden fees! > > Url:http://example.com > > I have 3-4 such ads for every keyword. > > Using the API, I want to: > > 1) Create an adgroup for every keyword for an adwords account. > > 2) Under the adgroup, upload all the ads for that particular > keyword to a given google adwords account. > So all the ads for `free red balloons` would go under that > keyword's adgroup. > > 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. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AdWords 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 -~----------~----~----~----~------~----~------~--~---
