Hi,

You should get campaign ID back if you include the field "CampaignId" in 
the Selector for your AdGroupService.get.  The following page documents all 
of the field names for selectors on every service.

https://developers.google.com/adwords/api/docs/appendix/selectorfields

You can also check out our Working with Objects 
Guide<https://developers.google.com/adwords/api/docs/guides/working-with-objects#get-method>
 for 
more details on selectors as well as links to a blog post and video on the 
topic.

Cheers,
Josh, AdWords API Team

On Wednesday, April 23, 2014 10:17:21 AM UTC-4, apiapi wrote:
>
> Using v17 of the .NET Wrapper library.
>
> I can successfully enumerate all AdGroups for a client. I know that these 
> AdGroups are linked to Campaigns. However, when enumerated several 
> properties show but campaignId is not one of them - *what is the right 
> way to find Campaign Identifiers that are related to an AdGroup*?
>
> For example, I have a page of 12 Google.Api.Ads.AdWords.v201402.AdGroup 
> items for a particualr account, a sample object with all populated 
> properties:
>
>     campaignId = 0
>     campaignIdSpecified = false
>     contentBidCriterionType = KEYWORD
>     id = (redacted)
>     name = (redacted)
>     status = ENABLED
>     statusFieldSpecified = true
>
> Thanks.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to