Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
maier-stefan committed May 15, 2019
1 parent ea8cd20 commit a088e4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/adgroup_targeting_keyword_list/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
)

func main() {
campaignID := int64(242933727)
adGroupID := int64(242878799)
campaignID := int64(262727835)
adGroupID := int64(262765077)
client, err := searchads.NewClient(nil, "../cert.pem", "../cert.key", nil)
if err != nil {
log.Fatalf("Client error: %s", err)
Expand Down
2 changes: 1 addition & 1 deletion searchads/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ type Statistics struct {
TTR float64 `json:"ttr"`
AvgCPA Amount `json:"avgCPA"`
AvgCPT Amount `json:"avgCPT"`
LocalSpend Amount `json:"localSpent"`
LocalSpend Amount `json:"localSpend"`
ConversionRate float64 `json:"conversionRate"`
Date string `json:"date,omitemtpy"`
}
Expand Down
1 change: 0 additions & 1 deletion searchads/targeting_keyword_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ func TestAdGroupTargetingKeywordService_List(t *testing.T) {

mux.HandleFunc("/campaigns/1234/adgroups/1234/targetingkeywords", func(w http.ResponseWriter, r *http.Request) {
testMethod(t, r, "GET")

w.WriteHeader(http.StatusOK)
w.Write(loadFixture("adgroup_targeting_keywords.json"))
})
Expand Down

0 comments on commit a088e4e

Please sign in to comment.