Creative Insert/Get Issue.

97 views
Skip to first unread message

John Yates

unread,
Nov 20, 2014, 9:54:11 AM11/20/14
to google-doubleclick-a...@googlegroups.com
Hi,

I'm trying to utilize the creative submission API to resubmit creatives (updating the content/attributes of the creative), however I'm having difficulties as the creative I submit seems to be reverted to the previous values after time passes (no immediate error is thrown).

Not sure if its due to my API calls (which I'm using the Google Samples for) or an issue with the API - any help much appreciated (example below)

Kind Regards,

John


Here is an example: 

(NOTE: I have altered the actual creative content/id's for the purpose of the example) 

1. Insert() Creative:

URL:


Body:

{"HTMLSnippet":"<iframe>--new creative html --<\/iframe>","accountId":"12345678","advertiserName":"Test Example","attribute":[2,8,47],"buyerCreativeId":123,"clickThroughUrl":["http:\/\/www.test.com"],"height":600,"width":160}

Response:

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Thu, 20 Nov 2014 13:14:16 GMT
Vary: Origin
Vary: X-Origin
Content-Type: application/json; charset=UTF-8
Content-Encoding: gzip
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alternate-Protocol: 443:quic,p=0.01
Transfer-Encoding: chunked

{
 "kind": "adexchangebuyer#creative",
 "accountId": 12345678,
 "buyerCreativeId": "123",
 "HTMLSnippet": "<iframe>--new creative html --<\/iframe>",
 "clickThroughUrl": [
  "http://www.test.com/"
 ],
 "attribute": [
  2,
  8,
  47
 ],
 "width": 160,
 "height": 600,
 "advertiserName": "Test Example"
}

2. Get the creative, just after just submitting it:

(The content I just posted is available)

URL:


Response:

HTTP/1.1 200 OK
Expires: Thu, 20 Nov 2014 13:18:30 GMT
Date: Thu, 20 Nov 2014 13:18:30 GMT
Cache-Control: private, max-age=0, must-revalidate, no-transform
Vary: Origin
Vary: X-Origin
Content-Type: application/json; charset=UTF-8
Content-Encoding: gzip
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alternate-Protocol: 443:quic,p=0.01
Transfer-Encoding: chunked

{
 "kind": "adexchangebuyer#creative",
 "accountId": 12345678,
 "buyerCreativeId": "123",
 "HTMLSnippet": "<iframe>--new creative html --<\/iframe>",
 "clickThroughUrl": [
 ],
 "attribute": [
  2,
  8,
  47
 ],
 "width": 160,
 "height": 600,
 "advertiserName": "Test Example",
 "status": "NOT_CHECKED"
}

3. Then I get() the creative again after approx 40 mins

(The update I made has reverted to the old content)

URL:


Response:

HTTP/1.1 200 OK
Expires: Thu, 20 Nov 2014 14:02:24 GMT
Date: Thu, 20 Nov 2014 14:02:24 GMT
Cache-Control: private, max-age=0, must-revalidate, no-transform
Vary: Origin
Vary: X-Origin
Content-Type: application/json; charset=UTF-8
Content-Encoding: gzip
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alternate-Protocol: 443:quic,p=0.01
Transfer-Encoding: chunked

{
 "kind": "adexchangebuyer#creative",
 "accountId": 12345678,
 "buyerCreativeId": "123",
 "agencyId": "456",
 "HTMLSnippet": "<iframe>--old creative html--<\/iframe>",
 "clickThroughUrl": [
 ],
 "vendorType": [
  299
 ],
 "attribute": [
  2,
  8,
  144
 ],
 "width": 160,
 "height": 600,
 "status": "APPROVED",
 "productCategories": [
  10021,
  10176
 ],
 "corrections": [
  {
   "reason": "FLASHLESS_ATTRIBUTE",
   "details": [
    "Added attribute: 50"
   ]
  }
 ]
}


Mark Saniscalchi

unread,
Nov 20, 2014, 10:27:33 AM11/20/14
to google-doubleclick-a...@googlegroups.com
Hello John,

There are a few circumstances that can cause behavior like this, although I can't verify with the limited information here. What I suspect happened is that the second creative was disapproved. Since the Creatives GET favors approved Creatives, it would return the approved older Creative after the new one failed to pass review. You could verify this by listing the Creatives with that buyerCreativeId; I'd expect you to find the newer one disapproved.

If you want more specific details about this case, I'd suggest contacting our support alias with additional information, such as the affected buyerCreativeId.

Regards,
Mark Saniscalchi

John Yates

unread,
Nov 21, 2014, 10:53:32 AM11/21/14
to google-doubleclick-a...@googlegroups.com
Hi Mark,

I was indeed able to use the LIST call to get the creative I was looking for.

I'm in contact with our account tech contact now to go over the specifics - but thanks for your help!

Kind Regards,

John
Reply all
Reply to author
Forward
Message has been deleted
0 new messages