Skip to content

All information about Adwords reports represented as tables or user views.

License

Notifications You must be signed in to change notification settings

rvflash/awql-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awql Database

GoDoc Build Status Code Coverage Go Report Card

All information about Adwords reports represented as tables or user views.

Data Source Name

The optional parts are marked by squared brackets:

APIVersion[:NoAutoLoad][|SrcDirectory][|ViewFilePath]

The first part with APIVersion can contains an option to disable auto-loading.

APIVersion

Type:           string
Valid Values:   <version>
Default:        v201809

Version of the Adwords API to use.

NoAutoLoad

Type:           bool
Valid Values:   true, false
Default:        false

If true, the database is not loaded at the opening.

SrcDirectory

Path to the folder that stores the database configuration files.

ViewFilePath

Enables to overload the path to the views configuration file.

Example

import db "github.com/rvflash/awql-db"

awql, _ := db.Open("v201809")
for _, table := range awql.TablesPrefixedBy("VIDEO") {
    fmt.Println(table.SourceName())
}
// Output: VIDEO_PERFORMANCE_REPORT

About

All information about Adwords reports represented as tables or user views.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages