I don't understand why it says on node type (AdAccount) when I'm clearly calling it from the Campaign object ( from sandbox Ad Account). I'm just trying to verify in a Test that the campaign status has been updated correctly. I'm not sure it's a good practice to do that test but I'm trying to understand how it works this sdk.
I think you create wrong object using SANDBOX_AD_ACCOUNT. You need
new AdAccount(self::SANDBOX_AD_ACCOUNT) rather than new Campaign(). An ad account is different than a campaign.
Hello,
I got the following error:
With the following code:
I don't understand why it says on node type (AdAccount) when I'm clearly calling it from the Campaign object ( from sandbox Ad Account). I'm just trying to verify in a Test that the campaign status has been updated correctly. I'm not sure it's a good practice to do that test but I'm trying to understand how it works this sdk.