Unable to Retrieve Tags for AD_SERVING_CLICK_TRACKER via CM360 API

52 views
Skip to first unread message

Sean Petty

unread,
Dec 30, 2024, 11:04:42 PM12/30/24
to Google's Campaign Manager 360 API Forum
Hi Support Team,

I am trying to implement a very simple process of creating a campaign, placement, ad, then generate tags for said placement.

I have no issues creating the entities and ensuring that the ad has assigned the placement assignment where the placement assignment is active, the ad is active, and the placement property active_status is PLACEMENT_STATUS_ACTIVE. 

However, no matter what I do, when I generate the tags I am getting back an object with just the placement ID like such

{
    "kind": "dfareporting#placementsGenerateTagsResponse",
    "placementTags": [
        {
            "placementId": "412449579"
        }
    ]
}

Can someone provide instruction and reference as to what the requirements are to generate Click Tracking Tags? Are there specific settings on the parent entities or specific tag formats? I have exhausted my options with setting various tag formats in both the placement and in the generateTags request without luck. 

For example, I am currently setting the placement tag formats to
$placement->tagFormats = ["PLACEMENT_TAG_TRACKING", "PLACEMENT_TAG_TRACKING_IFRAME", "PLACEMENT_TAG_TRACKING_JAVASCRIPT"];

and in the generateTags request I am asking for 
'tagFormats' => ['PLACEMENT_TAG_TRACKING']

It is important to note that before the holidays I thought it was returning something, I just didn't get to parsing it out to confirm.

Thanks in advance for your assistance.

Thanks, 
Sean

DCM API (DoubleClick Campaign Mgr)

unread,
Dec 31, 2024, 4:09:10 AM12/31/24
to spe...@mediaocean.com, google-doubleclick-...@googlegroups.com
Hi Sean,

Thank you for reaching out to the DCM API support team.

In order to investigate further can you please share us with the following details:
  • Complete JSON Request and Response logs
  • DCM Account ID and  Advertiser ID
  • Campaign ID
  • UI screenshot of the Placements
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGqur:ref" (ADR-00280135)

Thanks,
 
Google Logo DCM API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 


Message has been deleted

Sean Petty

unread,
Jan 2, 2025, 3:13:56 PM1/2/25
to Google's Campaign Manager 360 API Forum
Hi,

I was able to generate a tag finally. The requirement was that I needed to pass in the format of PLACEMENT_TAG_CLICK_COMMANDS. Is this supposed to be the correct format to request for click trackers? If so, what is the purpose of tag formats PLACEMENT_TAG_TRACKING?

Thanks,

DCM API (DoubleClick Campaign Mgr)

unread,
Jan 2, 2025, 6:07:54 PM1/2/25
to spe...@mediaocean.com, google-doubleclick-...@googlegroups.com

Hi,

Click trackers are used to record clicks on creatives not served by Campaign Manager 360, such as links in emails or on websites. They allow you to track user interactions, even if the creative isn’t directly served by CM360.

A typical click tracker tag looks like this:

https://ad.doubleclick.net/ddm/clk/[ad ID];[placement ID];[verifier]?[landing page URL];ltd=[]

Key components of the click tracker tag:

  • clk: Indicates this is a click tracker.
  • [ad ID]; [placement ID]: Identifies the ad and placement.
  • [verifier]: Used to verify the tag has not been tampered with.
  • dc_transparent=1: Optional, shows the URL redirect chain for static URLs.
  • ?[landing page URL]: The destination URL for static click trackers (dynamically inserted in dynamic trackers).
  • ltd=[]: Indicates cookie consent; if 1, enhanced attribution won’t be available.

For meta refresh tags, replace semicolons (;) with %3b for compatibility with older browsers.

To create a click tracker, go to your campaign and click New > Click tracker. For assistance with the properties, refer to the guidance provided. Once created, you can assign the click trackers to placements.

For more information, I recommend referring to the Set Up Click Trackers help center article.

I hope this helps! Please let us know if you need any further assistance.
 

Sean Petty

unread,
Jan 2, 2025, 7:33:10 PM1/2/25
to Google's Campaign Manager 360 API Forum
Hi,

I appreciate providing the high level documentation and I have come to understand what a click tracker is and what the components are. The issue I have been noting is with the API not returning the click-tracker, not in the UI. 

1) Can you address that via the API what the difference is between the two tag formats PLACEMENT_TAG_CLICK_COMMANDS and PLACEMENT_TAG_TRACKING? 
2) Is PLACEMENT_TAG_CLICK_COMMANDS supposed to be the correct format for all placement tags for click trackers? I can assume so, however the format of PLACEMENT_TAG_TRACKING suggests that should be providing something as well.

Aside from this question, I believe I have everything else that I need.

Thanks,

DCM API (DoubleClick Campaign Mgr)

unread,
Jan 3, 2025, 1:05:23 AM1/3/25
to spe...@mediaocean.com, google-doubleclick-...@googlegroups.com
Hi,

I would suggest you refer to the click tracker tags and tracking ad tags for information on placement tags. You can check this link on how to use and set up tracking tags. I would suggest you kindly check with the DCM product support team via this link for further assistance on this query.

You may get back to us if you face any technical issues/concerns related to the DCM API.
Reply all
Reply to author
Forward
0 new messages