Activity Filtering

35 views
Skip to first unread message

Dentsu Data

unread,
Jun 16, 2023, 5:46:41 PM6/16/23
to Google's Campaign Manager 360 API Forum
Hello all,
I am brand new to API coding within Google. I am building a Path to Conversion report, but need to filter on 6 different activities. I am aware "activities.filters" expects an array of dimensionValue objects, but am finding it difficult to create. 

I found the below post in another conversation of this group where a Google developer repeated the filter for each activity. In this case I would need to repeat this 7 times. However, I can not get this to work and am not sure what to do about eTag as that seems to be only relevant to the example in that forum. Does anyone know the code I need to write to filter by 6 different activities? Would love total guidance on this considering I am new to all of this. Thanks!

 "activities": 
    {
      "kind": "dfareporting#activities",
      "filters":  [
        {
          "kind": "dfareporting#dimensionValue",
          "etag": "\"7NnOSr215lx0SEIk/zDHlwt0RWqZLLSz0SE\"",
          "dimensionName": "dfa:activity",
          "id": "xxxxxx"
        },
        {
          "kind": "dfareporting#dimensionValue",
          "etag": "\"7NnOSr2AYf1bH15lx0SEIk/nXCc\"",
          "dimensionName": "dfa:activity",
          "id": "xxxxxxx"
        }
      ],

Dentsu Data

unread,
Jun 21, 2023, 10:48:00 AM6/21/23
to Google's Campaign Manager 360 API Forum
Does anyone have any insight on this?
Reply all
Reply to author
Forward
0 new messages