Skip to main content

App ops provider package built by papaya.

Project description

AppOps

App 投放运营工具集

Admob

Hooks

from appops.hooks.admob import AdmobHook
h = AdmobHook()

h.accounts
Out[3]: ['pub-xxxx']

h.mediationreport_json(
    query_body={
        "report_spec": {
            "dateRange": { "startDate": {"year": 2021, "month": 8, "day": 30}, "endDate": {"year": 2021, "month": 8, "day": 30} },
            "dimensions": ["DATE","FORMAT"], # 
            "metrics": ["ESTIMATED_EARNINGS","AD_REQUESTS","MATCH_RATE","MATCHED_REQUESTS","IMPRESSIONS","CLICKS"],
            "sortConditions": [
                {"metric":"ESTIMATED_EARNINGS", "order": "ASCENDING"}
            ],
            "localizationSettings": { "currencyCode": "USD", "languageCode": "en-US" }
        }
    },
    accounts=None, # using accounts from connection
)

Operator

ignore

Ads

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow-provider-appops-0.0.4.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

airflow_provider_appops-0.0.4-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file airflow-provider-appops-0.0.4.tar.gz.

File metadata

  • Download URL: airflow-provider-appops-0.0.4.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for airflow-provider-appops-0.0.4.tar.gz
Algorithm Hash digest
SHA256 361a5b4df9202c96f04731c8d40dffbc6c9c140d9af4ee1c6f0c1cd5aa8adfb1
MD5 15b5ae3c9d08bbda613e9e423d2ca3ea
BLAKE2b-256 b21c3e3985e220a7e8802a904e87c7281dd17d93c4a6d924086c559cf856a5f5

See more details on using hashes here.

File details

Details for the file airflow_provider_appops-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: airflow_provider_appops-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for airflow_provider_appops-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 35557a03bfc33a693c41b6e214508e8d02d926328fff2fb5e16cdc9735eec6e7
MD5 df5e41f5453c3b8d13d051a383c7471d
BLAKE2b-256 295b416d9d00c2f53e9795f6856892576f3cd0609ed83dd336ce4ce97e507dd4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page