Hi Vardamir, You're in luck, because there is also a CampaignService.get() method:
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.html#get If you haven't already, I encourage you to familiarize yourself with the v2009 API Developer Documentation: http://code.google.com/apis/adwords/v2009/docs/index.html Best, - Eric On Sep 30, 11:53 am, Vardamir <[email protected]> wrote: > Hello, > well, this method requires specifying campaignId as one of the fields > in the > AdGroupSelector parameter. So, how do I determine what is the > campaignId > for a running ad? Is this information available via web interface? > Thanks. > > On Sep 29, 7:28 pm, AdWords API Advisor <[email protected]> > wrote: > > > > > Hi Vardamir, > > > Yes, you can also determine ad group IDs with using the API. For the > > v2009 version of the API, use the method > > AdGroupService.get():http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupServi.... > > > Best, > > - Eric > > > On Sep 29, 4:34 am, Vardamir <[email protected]> wrote: > > > > Hello, > > > actually, I'm looking for a way to determine adGroupId not the actual > > > ID of > > > an ad. And it looks like all API commands used to get ad information > > > require adGroupId as a parameter (for example, getActiveAds or getAd > > > commands). So, I'm not able to fetch any ads unless I have adGroupIds > > > for > > > these ads. Is there any way I can determine adGroupId via API? > > > Any help is greatly appreciated. > > > Thanks. > > > > On 28 сен, 18:40, AdWords API Advisor <[email protected]> > > > wrote: > > > > > Hi Vardamir, > > > > > The AdWords web interface doesn't provide a method to determine the ID > > > > an ad. The best way to get this information is the use the API to > > > > fetch the ads and output their IDs. > > > > > Best, > > > > - Eric Koleda, AdWords API Team > > > > > On Sep 28, 8:42 am, Vardamir <[email protected]> wrote: > > > > > > Hello, > > > > > I'm using Adwords API (v13) to access Local Business Center and I need > > > > > to > > > > > specify adGroupId in order to retrieve statistics for local business > > > > > ads. > > > > > There are several ads currently running that were added before via web > > > > > interface, however I don't see any ad groups associated with these ads > > > > > when > > > > > checking them via web interface, thus I don't know what group id > > > > > should be > > > > > specified for them. Is there any way to get that info? > > > > > 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 -~----------~----~----~----~------~----~------~--~---
