CampaignGroupId is zero

62 views
Skip to first unread message

Vincent William

unread,
Jan 15, 2021, 3:45:19 AM1/15/21
to AdWords API and Google Ads API Forum
Get CampaignGroupId from  Campaign Performance Report, but the campaignGroupId is zero


accept-encoding: [gzip]
authorization: REDACTED
user-agent: [myFirstApp (AwApi-Java, AdWords-Axis/4.12.0, Common-Java/4.12.0, Axis/1.4, Java/1.8.0_131, maven, ReportDownloader, ReportQueryBuilder)]
developertoken: REDACTED
clientcustomerid: 823-720-3242
skipreportheader: true
skipcolumnheader: true
skipreportsummary: true
includezeroimpressions: false

Content:
__rdquery: SELECT CampaignName, CampaignId, CampaignGroupId, Clicks FROM CAMPAIGN_PERFORMANCE_REPORT
__fmt: CSV

16:44:37.770 [main] DEBUG com.google.api.ads.adwords.lib.utils.report_download - HTTP response:
200 OK
cache-control: [private, max-age=0]
content-encoding: [gzip]
content-type: [text/csv; charset=UTF-8]
date: [Fri, 15 Jan 2021 08:44:36 GMT]
expires: [Fri, 15 Jan 2021 08:44:36 GMT]
transfer-encoding: [chunked]
alt-svc: [h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"]
server: [GSE]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
content-security-policy: [frame-ancestors 'self']
content-disposition: [fileId-null-uuid-c9c82b04-3ae6-4a15-8f79-7414a6b8dee9-cid-0.tmp.csv]
x-xss-protection: [1; mode=block]

Content:
REDACTED REPORT DATA
FaceCam_szq_ES_0107,8725270936,0,11842
StarsWallpapers_szq_ES_0107,8726694376,0,24068

Vincent William

unread,
Jan 15, 2021, 3:46:45 AM1/15/21
to AdWords API and Google Ads API Forum
why the  campaignGroupId  is zero? 

Google Ads API Forum Advisor Prod

unread,
Jan 15, 2021, 10:30:14 AM1/15/21
to vincentwi...@gmail.com, adwor...@googlegroups.com
Hi Vincent, 

I was not able to see any Campaign Groups in your account. If your campaigns are not tied to a campaign group, you will see this value for the CampaignGroupId field.

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2B0Z0P:ref
Message has been deleted

Vincent William

unread,
Jan 18, 2021, 5:23:07 AM1/18/21
to AdWords API and Google Ads API Forum
How can i get clicks,cost of the ad group 1?  
1610936973(1).png

Google Ads API Forum Advisor Prod

unread,
Jan 18, 2021, 9:10:58 AM1/18/21
to vincentwi...@gmail.com, adwor...@googlegroups.com
Hi Vincent,

You will need to run an Adgroup Performance Report to get this data. 

Vincent William

unread,
Jan 18, 2021, 9:04:08 PM1/18/21
to AdWords API and Google Ads API Forum
accept-encoding: [gzip]
authorization: REDACTED
user-agent: [myFirstApp (AwApi-Java, AdWords-Axis/4.12.0, Common-Java/4.12.0, Axis/1.4, Java/1.8.0_131, maven, ReportDownloader, ReportQueryBuilder)]
developertoken: REDACTED
clientcustomerid: 823-720-3242
skipreportheader: true
skipcolumnheader: true
skipreportsummary: true
includezeroimpressions: false

Content:
__rdquery: SELECT AdGroupName, AdGroupId, Clicks FROM ADGROUP_PERFORMANCE_REPORT
__fmt: CSV

10:00:24.070 [main] DEBUG com.google.api.ads.adwords.lib.utils.report_download - HTTP response:
200 OK
cache-control: [private, max-age=0]
content-length: [0]
content-type: [text/csv; charset=UTF-8]
date: [Tue, 19 Jan 2021 02:00:23 GMT]
expires: [Tue, 19 Jan 2021 02:00:23 GMT]
alt-svc: [h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"]
server: [GSE]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
content-security-policy: [frame-ancestors 'self']
content-disposition: [fileId-null-uuid-ca67a60e-66f2-482b-a456-a1fdfbe25cde-cid-0.tmp.csv]
x-xss-protection: [1; mode=block]

Content:
REDACTED REPORT DATA
0
Total impressions by ad network type 1:





no data.why?

Google Ads API Forum Advisor Prod

unread,
Jan 19, 2021, 12:23:25 AM1/19/21
to vincentwi...@gmail.com, adwor...@googlegroups.com
Hi Vincent,

The AdWords API reports' support for App Campaigns is limited. For Universal App Campaign, the report types supporting this are listed here. For more information on the supported campaign types / sub types in the AdWords API, you can refer to the below fields of the Campaign Performance Report :

AdvertisingChannelType
AdvertisingChannelSubType

Moving forward, in order to retrieve ad group data of your App Install campaigns, I would recommend that you use the Google Ads API's reporting instead as this API has broader support for different types of campaigns. The full list of supported campaign types in this API are listed in the below campaign report fields :

campaign.advertising_channel_type
campaign.advertising_channel_sub_type

Now, to retrieve your ad groups, you can then use the ad_group report instead. I hope this helps.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2B0Z0P:ref
Reply all
Reply to author
Forward
0 new messages