Alan,

Yeah - typically if you know the ad group ID, typically you should also 
know the campaign ID that contains it.  If you ever need to find out, you 
can use the AdGroupService to query for the AdGroup 
<https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupService.AdGroup>
.

Cheers,

Ray

On Friday, July 18, 2014 11:54:59 AM UTC-4, Alan Coleman wrote:
>
> Looking at this, I'm going to be approaching the problem from another 
> direction.
>
> I'll store the AdGroup ID's returned by the API and match them with 
> Campaign IDs at a later stage.
>
> Thanks
>
> On Friday, July 18, 2014 2:00:00 PM UTC+1, Alan Coleman wrote:
>>
>> Hello everyone,
>>
>> I'm successfully using *AdGroupAdOperation* to write TextAds to Adgroups.
>>
>> The returning array of objects gives me the TextAd ID as well as the 
>> AdGroup ID it's been assigned to. Great.
>>
>> Is it possible for me however to return the ID of the Campaign that that 
>> owns the AdGroup in the same object?
>>
>> Many 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to