hockeyprincess / google-api-dfp-php

Automatically exported from code.google.com/p/google-api-dfp-php
Apache License 2.0
0 stars 0 forks source link

Error in GetAllCreativesExample.php #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Accessing CreativeService/GetAllCreativesExample.php of example code
2.
3.

What is the expected output? What do you see instead?

Expect the standard example output; instead throws an error:

 Cannot construct an instance of com.google.ads.publisher.api.service.creative.v201111.jaxbgen.HasDestinationUrlCreative because it is abstract. You are probably missing an @Uses annotation while invoking public abstract com.google.ads.publisher.api.service.creative.v201111.jaxbgen.CreativePage com.google.ads.publisher.api.service.creative.v201111.jaxbgen.CreativeServiceInterface.getCreativesByStatement(com.google.ads.publisher.api.service.creative.v201111.jaxbgen.Statement) throws com.google.ads.publisher.api.service.creative.v201111.jaxbgen.ApiException_Exception with params [com.google.ads.publisher.api.service.creative.v201111.jaxbgen.Statement@3a60cf]. 

What version of the product are you using? On what operating system?

Using v201111 on 64 bit CentOS 5.4

Please provide any additional information below.

Only seems to occur when the query is 'LIMIT 500 OFFSET ' . $offset
(Where $offset = 0;)

All other example scripts work, and it doesn't do this with the same query on 
say, 'GetAllLineItemsExample.php'

Original issue reported on code.google.com by FCLimited on 23 Jan 2012 at 5:01

GoogleCodeExporter commented 8 years ago
Also note that if I change the query in the script GetAllCreativesExample.php 
to say, "WHERE id='nnnnnnnnnnn' LIMIT 500" it works.

Original comment by FCLimited on 23 Jan 2012 at 5:03

GoogleCodeExporter commented 8 years ago
Hi,

This seems like an issue more with the API than the client library. Can you 
write in to the forum and we can answer your issue there please? 

http://groups.google.com/group/google-doubleclick-for-publishers-api/topics

Thanks.

Original comment by aro...@google.com on 23 Jan 2012 at 4:59