Re: How can we get the Campain ID and Ad Group ID

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

There are a few ways to get this information.

*1.* *AdWords SOAP services*
You can use the AdGroupService 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupService
 
to *get* all ad groups. If you include the *Id* and *CampaignId* fields in 
your *Selector*, then you'll get back the ad group ID and campaign ID 
combination for each ad group. If you are using one of our client 
libraries, check out the *GetAdGroups* example in the client library's 
*basicoperations* folder (e.g., the Java example is here 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/basicoperations/GetAdGroups.java
).

*2. Reports*
You can run the AD_GROUP_PERFORMANCE_REPORT 
https://developers.google.com/adwords/api/docs/appendix/reports#ad-group and 
include the *AdGroupId* and *CampaignId* fields in your report request. If 
you want to include ad groups without impressions, see the Zero Impression 
Reports guide 
https://developers.google.com/adwords/api/docs/guides/zero-impression-reports.
 
If you are using one of our client libraries, check out the 
DownloadCriteriaReport 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/reporting/DownloadCriteriaReport.java
 example 
in the client library's *reporting* folder.

Cheers,
Josh, AdWords API Team

On Friday, January 2, 2015 2:26:48 AM UTC-5, sho...@multipliersolutions.in 
wrote:

 Hi..

 I am integrating google adwords api in my website. For user flexibility, I 
 want to show their campaigns that they are running and also to show their 
 ad groups for their account.
 I just wanted to know the Code  to generate the Campaign ID with name and 
 Ad group ID with name 

 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5ce732cf-8859-4557-bf92-63c0343257a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How can we get the Campain ID and Ad Group ID

2015-01-01 Thread shobhan
Hi..

I am integrating google adwords api in my website. For user flexibility, I 
want to show their campaigns that they are running and also to show their 
ad groups for their account.
I just wanted to know the Code  to generate the Campaign ID with name and 
Ad group ID with name 

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/90cf3ee8-0193-411d-bb88-1922784870af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.