0

Yahoo APT Command Groups and cabilities

I asked for and recieved a license to develop on YahooAPT's sandbox enviroment.
I am successfully calling the LocationService and AccountService, but am unable to use the LibraryImageAdService, ReportService, AdService, and others under different command groups. I always recieve an E1054 (Invalid account access) Soap Fault Error. I"m assuming I need a better license,...(my company is trying to get one)...but does anyone know if there is anything I can do to move forward in the sandbox enviroment? Is it something I'm doing wrong in the soap call or is it really my license?

3 Replies
  • It is important to refer to the "Service Access Type" section of the documentation for each service.

    For instance, LibraryImageAdService can be accessed by a Managed Advertiser or Self-managed account with advertiser capability:
    http://help.yahoo.com/l/us/yahoo/ewsapt/we...Ulx2reh01UYo3dG

    What that means to you if you are a network is that you need to specify the Managed Advertiser Account ID in the SOAP Header [accountID] as well as any other relevant accountID for the operation:
    http://help.yahoo.com/l/us/yahoo/ewsapt/we...aryimagead.html

    If you were to add a LibraryImageAd object, you would specify a Managed Advertiser Account ID in the header as well as the accountID element of libraryImageAd

    Please let me know if you have any additional questions.

    Thanks,
    -Mark Meyer
    0
  • Mark,

    I too am having this issue. I'm developing in the sandbox for APT v4 and using the sandbox account you guys sent us. The accountType of our sandbox account is DataProvider. Is this correct? I'm trying to add a targeting profile:

    TargetingProfileService.addTargetingProfile(....)....


    And get this error:

    "E1054Invalid account access, access type:ManagedAdvertiser,SelfManagedAdvertiser, account type:"

    What do I need to do?

    Thanks,
    Matthew Pomar






    QUOTE (Mark @ Nov 19 2009, 09:00 AM) <{POST_SNAPBACK}>
    It is important to refer to the "Service Access Type" section of the documentation for each service.

    For instance, LibraryImageAdService can be accessed by a Managed Advertiser or Self-managed account with advertiser capability:
    http://help.yahoo.com/l/us/yahoo/ewsapt/we...Ulx2reh01UYo3dG

    What that means to you if you are a network is that you need to specify the Managed Advertiser Account ID in the SOAP Header [accountID] as well as any other relevant accountID for the operation:
    http://help.yahoo.com/l/us/yahoo/ewsapt/we...aryimagead.html

    If you were to add a LibraryImageAd object, you would specify a Managed Advertiser Account ID in the header as well as the accountID element of libraryImageAd

    Please let me know if you have any additional questions.

    Thanks,
    -Mark Meyer
    0
  • Generally speaking, when you receive a invalid account access error, you are trying to perform an action using the wrong AccountID.

    In short, when you first "login" (call the LocationService), you are using your NetworkAccountID. This basically gives you a certain set of rights within the API. But then as you are working in the API, this error pops up. When that happens, the API is telling you that you need to switch account contexts (i.e. change the AccountID) you are using. In the case of adding Placements, you must use your AdvertiserID of the Advertiser the Order is created for.

    So change the AccountID to the AdvertiserID and you should be fine...for this operation. Think of it as having to login as the advertiser to perform certain things.
    0
This forum is locked.

Recent Posts

in General - APT