Hello.

I’ve been working with google api for 6-7 years now, but this is rather 
unusual.

In V201109, when generating soap client for TargetingIdeaService, Axis 
would not generate a class for TargetingIdea. What’s so special about the 
definition of TargetingIdea?

<complexType name="*TargetingIdea*"><annotation><documentation>
            Represents a {@link TargetingIdea} returned by search criteria 
specified in
            the {@link TargetingIdeaSelector}. Targeting ideas are keywords 
or placements
            that are similar to those the user inputs.
          </documentation></annotation><sequence><element 
maxOccurs="unbounded" minOccurs="0" name="data" 
type="tns:Type_AttributeMapEntry"><annotation><documentation>
                Map of
                {@link 
com.google.ads.api.services.targetingideas.external.AttributeType}
                to {@link Attribute}. Stores all data retrieved for each 
key {@code
                AttributeType}.
                <span class="constraint Required">This field is required 
and should not be {@code null}.</span>
              
</documentation></annotation></element></sequence></complexType>

The generated code for TargetingIdeaPage
<complexType name="*TargetingIdeaPage*"><annotation><documentation>
            Contains a subset of {@link TargetingIdea}s from the search 
criteria
            specified by a {@link TargetingIdeaSelector}.
          </documentation></annotation><sequence><element maxOccurs="1" 
minOccurs="0" name="totalNumEntries" 
type="xsd:int"><annotation><documentation>
                Total number of entries that can be retrieved using the get 
method.
              </documentation></annotation></element><element 
maxOccurs="unbounded" minOccurs="0" name="entries" type="tns:*TargetingIdea*
"><annotation><documentation>
                The result entries in this page, as list of {@link 
TargetingIdea}s.
              
</documentation></annotation></element></sequence></complexType>

 looks like this:

    /**
     * Gets the entries value for this TargetingIdeaPage.
     *
     * @return entries   * The result entries in this page, as list of 
{@link TargetingIdea}s.
     */
    public com.google.adwords.api.Type_AttributeMapEntry[][] getEntries() {
        return entries;
   }

So it looks like the WSDL2Java totally skipped the definition of 
TargetingIdea.
In the examples in the API docs the code and import statements definitely 
refer to TargetingIdea class.

Any ideas? (‘scuse the pun)

Thanks,
Maxim

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to