Introduction
Google Ads is an online advertising platform developed by Google, where advertisers pay to display brief advertisements, service offerings, product listings, video content, and generate mobile application installs within the Google ad network to web users. Google Ads single report source plugin would allow users to retrieve all of the specified report type from their Google Ads reports account in batch mode.
User Expectations
- User would like to get all the specified Google Ads reports that are available for her Customer Id associated with the client accountreport type that can be transformed (if needed) with CDAP
- User do not need to specify reports or fields report format and type while setting up the configuration
- User should be able to use advanced options available in Google Ads API such as skip report header
Plugin Type
- Batch Source
- Batch Sink
- Real-time Source
- Real-time Sink
- Action
- Post-Run Action
- Aggregate
- Join
- Spark Model
- Spark Compute
User Configurations
Option Level | User Configuration Label | Label Description | Variable | User Widget | Default Value | Notes | ||||
---|---|---|---|---|---|---|---|---|---|---|
Basic | Report type | Google Ads report type to retrieve | report_type | Drop Down | https://developers.google.com/adwords/api/docs/appendix/reports | |||||
Authorization token | Authorization to download the report | oauth2_access_token | Text Box | https://developers.google.com/adwords/api/docs/guides/reporting#prepare_the_request | ||||||
Developer token | Developer token consisting of unique string | developer_token | Text Box | |||||||
Customer ID | Customer ID of the client account | client_customer_id | ||||||||
Start Date | Start date for the report data | start_date | Text Box | Should allow to choose "today" as an option | ||||||
End Date | End date for the report data | end_date | Text Box | Should allow few standard options such as last 30, 60 and 90 days | ||||||
Format | Report format | report_format | Drop Down | CSV | https://developers.google.com/adwords/api/docs/guides/reporting#supported_download_formats | |||||
Advanced | Include Report Header | If false, report output will not include a header row containing the report name and date range. | includeReportHeader | Toggle | True | |||||
Include Column Header | If false, report output will not include a header row containing field names | includeColumnHeader | Toggle | True | ||||||
Include Report Summary | If false, report output will not include a summary row containing the report totals | includeReportSummary | Toggle | True | ||||||
Use Raw Enum Values | Set to true if you want the returned format to be the actual enum value | useRawEnumValues | Toggle | False | ||||||
Include Zero Impressions | If true, report output will include rows where all specified metric fields are zero, | includeZeroImpressions | Toggle | False | Report type | Report type | report_type | Text Box | https://developers.google.com/adwords/api/docs/appendix/reports/all-reports | |
Fields | Coma separated list of fields to pull | report_fields | Text Box | https://developers.google.com/adwords/api/docs/appendix/reports/all-reports |
Design / Implementation Tips
Plugin will be implemented using official googleads-java-lib, Output schema must be automatically generated from selected fields and report type.
References
- Google Ads reporting basics - https://developers.google.com/adwords/api/docs/guides/reporting
- Google Ads reports - https://developers.google.com/adwords/api/docs/appendix/reports/all-reports