i want to get a list of placement URLs per mobile campaign, using AWQL.
For an "exclude" mobile campaign, i want to get the list of excluded placements,
and for an "include" mobile campaign, i want to get the list of included placements,
For that matter - do mobile-placements differ in API or reference than "normal" placements?
I tried several versions in several reports, but i can't get them. e.g.
Select PlacementUrl, IsNegative
from CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT
where CampaignId=123456789
returns all excluded placements, only in a non-mobile campaign; The same query for a mobile campaign yields empty result set :(
More details and trials:
I tried using AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT:
For these reports, only an empty result set is returned (i of course verified that my real campaign (different number than show has excluded placements - it does, and many.) :
select CriteriaParameters, DisplayName, Domain, IsPathExcluded
from AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT where CampaignId=123456789
DURING TODAY
and
select PlacementUrl
from PLACEMENT_PERFORMANCE_REPORT
where CampaignId=123456789 DURING LAST_30_DAYS
The last hint. maybe it these negative placements were excluded ("added") via API: NegativeCampaignCriterion
it didn't solve my issue; i have a few questions about that:
1. i'd like to get a list of placement right-now, so I'm confused about the usage of "during" clause: should I write "TODAY" or give an all-time date range?
2. in this specific campaign(s), some placements has no stat data (campaigns built solely for testing). Maybe this is the reason why they don't show up?
3. the less comfortable route would be using googleads API library. Can I get those placement lists (negative, "positive") on the campaign level, or must I query the adgroup? in my case, there's only one adgroup for each campaign, anyway.
correction to the above:
i need to know what placements are active NOW, even if they did 0 performance so far
query = "Select PlacementUrl, Clicks from PLACEMENT_PERFORMANCE_REPORT where CampaignId IN [196669265,196700705,196697825,197152865,196697945] during LAST_WEEK"
[empty results]
query = "Select PlacementUrl, AverageCpc, IsNegative, Status from PLACEMENT_PERFORMANCE_REPORT where CampaignId IN [196669265,196700705,196697825,197152865,196697945] during LAST_WEEK"
"PLACEMENT_PERFORMANCE_REPORT (Aug 25, 2014-Aug 31, 2014)"
Placement,Avg. CPC,Is negative,Placement state
mobileappcategory::60000,198769,false,enabled
mobileappcategory::60000,105550,false,enabled
mobileappcategory::60000,134008,false,enabled
mobileappcategory::60000,313907,false,enabled
mobileappcategory::60500,291559,false,enabled
Total,171591, --, --
(BTW, why the mobileappcategory? I need the mobile app themselves
I'm looking to build 2 reports:
1. ALL currently included / excluded placements,
2. campaign or adgroup statistics PER PLACEMENT. This example, as the above, gives details per mobileAppGroup, except that i didn't ask for it, and it doesn't help:
"Select PlacementUrl, AverageCpc from PLACEMENT_PERFORMANCE_REPORT where CampaignId IN [196669265,196700705,196697825,197152865,196697945] during LAST_MONTH"
select IsNegative, PlacementUrl, Clicks, AverageCpc, CampaignId from PLACEMENT_PERFORMANCE_REPORT where CampaignId=195263105 during LAST_WEEK
"PLACEMENT_PERFORMANCE_REPORT (Aug 25, 2014-Aug 31, 2014)"
Is negative,Placement,Clicks,Avg. CPC,Campaign ID
false,mobileappcategory::60000,1041,198769,196669265
Total, --,1041,198769, --