Giter Site home page Giter Site logo

Comments (2)

christopherseeley avatar christopherseeley commented on September 25, 2024

When using the CSV_DUMP export format, monetary amounts are in micros (1 millionth of the base unit):
3,480,653 / 1,000,000 = $3.48
1,7403 / 1,000,000 = $0.017 rounded to $0.02

Percentages are in the rate value:
0.118 * 100 = 11.8%

If you want a human-readable format, you can use TSV or Excel format when exporting.

from googleads-python-lib.

Shaharbad avatar Shaharbad commented on September 25, 2024

When using the CSV_DUMP export format, monetary amounts are in micros (1 millionth of the base unit): 3,480,653 / 1,000,000 = $3.48 1,7403 / 1,000,000 = $0.017 rounded to $0.02

Percentages are in the rate value: 0.118 * 100 = 11.8%

If you want a human-readable format, you can use TSV or Excel format when exporting.

LEGEND! THANKS.
could you please help me with filtering by Child Publisher network code?
Here's my code:

    report_job = {
        'reportQuery': {
            'dimensions': dimensions,
            'adUnitView': 'FLAT',
            'columns': [
                'AD_EXCHANGE_LINE_ITEM_LEVEL_IMPRESSIONS',
                'AD_EXCHANGE_LINE_ITEM_LEVEL_REVENUE',
                'AD_EXCHANGE_LINE_ITEM_LEVEL_AVERAGE_ECPM',
                'AD_EXCHANGE_TOTAL_REQUESTS',
                'AD_EXCHANGE_MATCH_RATE',
            ],
            'dimensionAttributes': [],
            'customFieldIds': [],
            'cmsMetadataKeyIds': [],
            'customDimensionKeyIds': [],
            'startDate': start_date,
            'endDate': end_date,
            'dateRangeType': 'CUSTOM_DATE',
            'statement': None,
            'reportCurrency': 'USD',
        }
    }

from googleads-python-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.