AdSchedule report column requiired

33 views
Skip to first unread message

denma test

unread,
Oct 3, 2020, 7:06:06 AM10/3/20
to AdWords API and Google Ads API Forum
Hi
Have done with Adschedule report and working fine, produced below response.

[0] => Array ( [Campaign ID] => 10748272950 [Campaign] => Campaign to test update [Campaign state] => enabled [Ad Schedule] => 353495 [bidAdj] => -- [Impressions] => 0 [Clicks] => 0 [avgCPM] => 0 [avgCPC] => 0 [CTR] => 0.00% [Cost] => 0 [viewThroughConv] => 0 [Conversions] => 0.00 [convRate] => 0.00% [costConv] => 0 )

May i know how to get adschedule range specific to the column "id". For example i want to get adscheudle range in readable format for the [Ad Schedule] => 353495 index above.

Google Ads API Forum Advisor Prod

unread,
Oct 5, 2020, 2:09:59 AM10/5/20
to denm...@gmail.com, adwor...@googlegroups.com
Hi,

Could you provide more details as to what it is you meant by 'range'?

For Ad Schedule specific information, you may refer to the Campiaign Ad Schedule Target Report if you are using the AdWords API's reports. The Ad Schedule ID can be retrieved via the Id column.

If you are using the Google Ads API, then you can use the ad_schedule_view to retrieve attributes and metrics information. For retrieving the ad schedule ID you will need to retrieve it from the resource_name field as it is returned in the below format :

customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}

You would then need to parse this information on your end in order to retrieve the criterion_id specifically. Let me know if this is what you're looking for.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q25YvS0:ref

denma test

unread,
Oct 5, 2020, 8:53:56 AM10/5/20
to AdWords API and Google Ads API Forum
Hi
You mean i need to pass [Ad Schedule] => 353495, this criterian id to another to service to retrieve data?

Google Ads API Forum Advisor Prod

unread,
Oct 5, 2020, 10:31:31 PM10/5/20
to denm...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for clarifying.

The service that mainly supports the AdSchedule criterion is the CampaignCriterionService. If you wish to retrieve the said criterion's attributes through this service, you can perform a CampaignCriterionService.get() and use the AdSchedule's ID as input.

Let me know if this helps.

denma test

unread,
Oct 6, 2020, 8:47:02 AM10/6/20
to AdWords API and Google Ads API Forum
Okay, but if am getting in API response, will make easy and reduce further API calls. Please make note on it.

Google Ads API Forum Advisor Prod

unread,
Oct 6, 2020, 3:21:58 PM10/6/20
to denm...@gmail.com, adwor...@googlegroups.com
Hello,

Thank you for your feedback. Unfortunately, this is how the AdWords API was designed and we are no longer making any changes to the AdWords API as our focus is now on improving the Google Ads API. 

Regards,
Google Logo
Danica
Google Ads API Team
 


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