Hi,

You could also try retrieving AdGroups using 
AWQL<https://developers.google.com/adwords/api/docs/guides/awql>via the 
AdGroupService.query<https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupService#query>method.
  A sample AWQL query is:

SELECT Id, Name, CampaignId, Status ORDER BY Name

The code will be extremely similar to 
GetCampaignsWithAwql.cs<https://github.com/googleads/googleads-adwords-dotnet-lib/blob/master/examples/adwords/CSharp/v201402/BasicOperations/GetCampaignsWithAwql.cs>,
 
only modified to use AdGroupService and process AdGroupPages.

I've confirmed that I get populated *CampaignId* values from both the *get* and 
the *query* methods, so there's either an issue with the client library or 
an issue with the request being sent.  Could you post the request and 
response XML from your logs after removing any sensitive information (per 
the forum 
rules<https://groups.google.com/d/msg/adwords-api/lUQpWowB44k/4SLfkHbk4ZgJ>
)?

Thanks,
Josh, AdWords API Team

On Wednesday, April 23, 2014 6:42:46 PM UTC-4, apiapi wrote:
>
> Hi  Josh. Yes I "should" see campaignId along with the other populated 
> properties, but I do not. I am not willing to file this as a bug in the API 
> or .NET wrapper, but I do want to know of other ways to get a Campaign ID 
> for a given AdGroup so I can debug/evaluate the AdGroup service.
>
> 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