Hi Fei,

1) To answer your original question regarding manage_placement_view, as you 
can see in this doc:
https://developers.google.com/google-ads/api/fields/v2/managed_placement_view
In the "Selectable with" section, you can see that "ad_group", 
"ad_group_criterion" and "campaign" are all available to be selected in 
this view.

No this wont helpful. As I have gone through it as I mentioned earlier. 

2) If you have data discrepancy issue either:
    - Between AdWords API and Google Ads API
    - Between UI and API
   Please reply with the details of your request/response log, as well as 
the UI screenshot (if applicable)
   This will help us identify the issue.

IF I use ad_group_criterion with metrics under managed_placement_view I can 
only have 30 rows for my specific period while old reports has all the 
placement regardless of any event there.

My Query:
$query = "SELECT campaign.id, "
                . "campaign.name, "
                . "campaign.status, "
                . "ad_group.id, "
                . "ad_group.name, "
                . "ad_group.status, "
                . "ad_group_criterion.criterion_id, "
                . "ad_group_criterion.placement.url, "
                . 
"ad_group_criterion.mobile_app_category.mobile_app_category_constant, "
                . "ad_group_criterion.mobile_application.app_id, "
                . "ad_group_criterion.youtube_channel.channel_id, "
                . "ad_group_criterion.youtube_video.video_id, "
                . "ad_group_criterion.status, "
                . "ad_group_criterion.negative, "
                . "ad_group_criterion.type, "
                . "metrics.impressions, "
                . "metrics.clicks, "
                . "metrics.cost_micros, "
                . "metrics.conversions_from_interactions_rate, "
                . "ad_group_criterion.effective_cpc_bid_micros, "
                . "metrics.conversions, "
                . "metrics.average_cpc, "
                . "segments.date "
                . "FROM managed_placement_view "
                . "WHERE segments.date BETWEEN '$startDate' AND 
'$this->endDate' "
                . "AND campaign.status = 'ENABLED' "
                . "AND ad_group.status = 'ENABLED' "
                . "AND ad_group_criterion.negative = 'FALSE' "
                . "AND ad_group_criterion.criterion_id > '0' "
                . "AND ad_group_criterion.type IN ('MOBILE_APPLICATION', 
'MOBILE_APP_CATEGORY', 'PLACEMENT', 'YOUTUBE_CHANNEL', 'YOUTUBE_VIDEO') "
                . "ORDER BY segments.date ASC";

I can have 30 rows but Adwords API has more then 500 rows.

See screenshot what I was taking about.

[image: Screenshot Placements Google Ads.png]
See there is 45 rows.

Thanks,



On Tuesday, 13 August 2019 10:57:01 UTC+5:30, adsapiforumadvisor wrote:
>
> Hi CV,
>
> 1) To answer your original question regarding manage_placement_view, as 
> you can see in this doc:
>
> https://developers.google.com/google-ads/api/fields/v2/managed_placement_view
> In the "Selectable with" section, you can see that "ad_group", 
> "ad_group_criterion" and "campaign" are all available to be selected in 
> this view.
>
> 2) If you have data discrepancy issue either:
>     - Between AdWords API and Google Ads API
>     - Between UI and API
>    Please reply with the details of your request/response log, as well as 
> the UI screenshot (if applicable)
>    This will help us identify the issue.
>
> Thanks
> Fei, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UEGyF4:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d12858da-894f-48c2-8446-d9610179f2f3%40googlegroups.com.

Reply via email to