I thought I had a pretty good handle on the campaign create flow until I hit this snag on targeting_critera.
I have prepared a tailored audience based on Site Visit web event. I get this ID
"1g1ln" from the
GET tailored_audiences endpoint and see that it is associated with my webevent.
When I try to create targeting_criteria associating my dynamic ad campaign line_item with a
targeting_type TAILORED_AUDIENCE and targeting_value
1g1ln, the targeting_criteria endpoint replies with:
"Expected Long, got "1g1ln" for targeting_value"
I’ve not run into any objects on any ads api endpoint with Long as a the ID data type. Can someone point me to where I am supposed to get the correct
I’m following the example on the Dynamic Ads targeting section, which shows an ID,
"w1dv" being applied as the targeting_value for a
TAILORED_AUDIENCE targeting type.