FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

EstimateKeywordTraffic.java example fails if StatsEstimate is missing values · Issue #29 · googleads/googleads-java-lib · GitHub

EstimateKeywordTraffic.java example fails if StatsEstimate is missing values #29

Description

If any of the StatsEstimate attributes used in the example are null then the example fails with:

Exception in thread "main" java.lang.NullPointerException
    at adwords.axis.v201409.optimization.EstimateKeywordTraffic.runExample(EstimateKeywordTraffic.java:144)
    at adwords.axis.v201409.optimization.EstimateKeywordTraffic.main(EstimateKeywordTraffic.java:70)

This was not an issue prior to v201406 of the API, but in v201406 the TrafficEstimatorService no longer returns 0 for a derived field if its denominator is zero. Instead, it omits the field from the response.

https://developers.google.com/adwords/api/docs/reference/#v201406

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL