Hi, That's correct, the AdGroupAd has the status field. In v2009 ads and criteria are handled similarly. The core object (Ad or Criterion) is immutable and cannot change after it is created. This is then wrapped in an outer object (AdGroupAd, AdGroupCriterion) which represents its settings within the ad group, including fields like status, bid, etc. This distinction wasn't always clear in the v13 objects, and I think once you get used to it in v2009 it will make working with the entities easier.
Best, - Eric Koleda, AdWords API Team On Dec 10, 6:02 pm, "j.e.frank" <[email protected]> wrote: > Actually I answered my own question. The AdGroupAd object, which > didn't exist in v13, has a Status field. > > On Dec 10, 4:29 pm, "j.e.frank" <[email protected]> wrote: > > > > > Using the v13 API, I can create an Ad that is paused, simply by > > setting the Ad's status to Paused before calling AdService.addAds(). > > I am trying to migrate my code to v2009 but it's not clear to me how > > to create a Paused ad. The Ad object no longer has a Status field. > > It has an ApprovalStatus field, but that is read-only and does not > > include Paused anyway. How can I create a paused Ad with v2009? -- 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.
