Search code examples
templatestrackingadsgoogle-ads-api

Google Adwords: {creative} parameter always returns "zero" even if it's an active reviewed Ad


I'm new using Google AdWords API, and we are building an intermediate layer to collect some statistics for the Ad Clicks.

We are trying to add a tracking template URL to an Ad, and using some attributes, something like: http://www.example.com/?url={lpurl}&cid={campaignid}&gid={adgroupid}&adid={creative}

When I click the "Test" button, it all the tokens gets replaced by the right value, except for the {creative} token does not get replaced by the Ad ID and it gets replaced by 0

What are we doing wrong here?

Thanks,


Solution

  • It is because you are testing on your first ad, try adding another and you will see adid=1