How to assign Creatives to a Campaign via API

182 views
Skip to first unread message

Canvas AdOps

unread,
Oct 20, 2021, 1:47:22 AM10/20/21
to Google's Campaign Manager 360 API Forum
Hi,

Can someone guide me how to map the creative to a campaign via api. I got an error as Creative must be assigned to the campaign before it can be associated with the ad.

DCM API (DoubleClick Campaign Mgr)

unread,
Oct 20, 2021, 6:21:14 AM10/20/21
to adops-rpa...@canvasww.com, google-doubleclick-...@googlegroups.com
Hi Canvas,

Thank you for reaching out to us.

For us to assist you further, could you please provide the following details via Reply privately to author option?
  • DCM Account ID / Network Code
  • Profile ID being used in API request
  • request body and API response in JSON format
If the option mentioned above doesn't work, you may send the details directly to dcmapi-...@google.com instead, then let us know here once it has been sent.

Regards,
Google Logo
Teejay Wennie Pimentel
DCM API Team
 


ref:_00D1U1174p._5004Q2PL6J1:ref

DCM API (DoubleClick Campaign Mgr)

unread,
Oct 21, 2021, 6:07:40 AM10/21/21
to adops-rpa...@canvasww.com, google-doubleclick-...@googlegroups.com

Hi Canvas,

 

It seems that you did not receive my last response so I am reposting it here.

 

"I'm Michael and I work along with Teejay, allow me to assist you here.

 

It looks like you have not assigned the creative to the campaign. Have you tried associating your creative to the campaign? Additionally, please ensure that your creative type is compatible with your ad type as well as the sizes should be the same. Please check here for more information."

 

As a side note, If you're having trouble receiving private replies from us, please check your Spam folder. Additionally, please add the 'From address' on that email to your contact list to ensure we aren't flagged as Spam in future messages. If you don't see a message from us in your Spam folder, please email us directly at dcmapi-...@google.com referring to your forum case.

 

Regards,

Google Logo
Michael Angelo Legaspi
DCM API Team
 


ref:_00D1U1174p._5004Q2PL6J1:ref

Canvas AdOps

unread,
Oct 21, 2021, 11:06:01 AM10/21/21
to Google's Campaign Manager 360 API Forum
Hi Michael,

I have solved the problem, but once AD has been created how to enter the event tag values/data via api? Can you help me how to add Event Tags to the exisitng Ads/ adding event Tags during at the time of AD Creation? I have attached the screenshot for reference.
EventTags.png

DCM API (DoubleClick Campaign Mgr)

unread,
Oct 22, 2021, 12:06:09 AM10/22/21
to adops-rpa...@canvasww.com, google-doubleclick-...@googlegroups.com

Hi Canvas,

 

Glad that the previous issue has been resolved.

 

For your current query, as far as I know, you may create a new event tags by using the eventTags.insert() method then in the instance of the Ad when you are creating the Ad using ads.insert() method, under the eventTagOverrides field, you may add the ID of the generated event tag.

 

 Let me know if this helps or you need further assistance.

Regards,

Canvas AdOps

unread,
Oct 22, 2021, 1:18:17 AM10/22/21
to Google's Campaign Manager 360 API Forum
Thank you for the response. Why I cant use the Get eventTags.get(). It throws an error saying 3140 : Version v3.3 of the DCM/DFA Trafficking and Reporting API is no longer supported.. I make a get request to get the sample eventTags json so that I can make use of for the insert?

DCM API (DoubleClick Campaign Mgr)

unread,
Oct 22, 2021, 4:33:15 AM10/22/21
to adops-rpa...@canvasww.com, google-doubleclick-...@googlegroups.com
Hi Canvas,

I work along with Michael. Allow me to assist you in this.

The reason that you're getting that kind of error is because you're using an old version of the API. That said, would recommend to use the latest version 3.5 instead.

Regards,
Google Logo
Teejay Wennie Pimentel
DCM API Team
 


 

ref:_00D1U1174p._5004Q2PL6J1:ref
Reply all
Reply to author
Forward
0 new messages