Hi!
I created a simple report based on "Final URL" with only 3 columns: Final
Url, Ad Group State and Impressions. Presence of Ad Group State column
leads to implicit segmentation but the only its value is "enabled".
Everything looks good (see attached screenshot).
Then I tried to receive the report by API:
curl --http1.1 \
--header "Authorization : Bearer {AuthorizationToken}" \
--header "developerToken : {DeveloperToken}" \
--header "includeZeroImpressions: false" \
--header "clientCustomerId : {CustomerId}" \
--data "__rdquery=SELECT Impressions, EffectiveFinalUrl, AdGroupStatus
FROM FINAL_URL_REPORT WHERE CampaignId={CampaignId}
DURING+20200515,20200515&__fmt=CSV" \
https://adwords.google.com/api/adwords/reportdownload/v201809
And it results to a report with two rows instead of one:
"FINAL_URL_REPORT (May 15, 2020)"
Impressions,Final URL,Ad group state
1822,https://get.fivetran.com/demo,enabled
11,https://get.fivetran.com/demo,enabled
Total, --, --
Not so long ago Pavel asked similar question and he was told that the
reports in UI and API should match. But my reports don't match, and I do
not know why.
It seems that because of implicit segmentation the row has been splitted by
Ad Group (there are two different groups, Topics and Audiences). But the Ad
Group name or Id is not included in the column set, so I do not expect the
duplication of potential key (Final URL + Ad Group State).
How can I get the same report by API as I see in the UI?..
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/2dd357b3-0233-41b0-82f0-8e683922226c%40googlegroups.com.