Re: Reg: Image Ad

2019-08-19 Thread Google Ads API Forum Advisor Prod
Hi Suresh,

Thank you for providing additional information about the scenario. However, my 
apologies as I would not be able to comment further regarding the behavior you 
have observed via the Google Ads UI as this is already outside of our scope. 
That being said, I would recommend that you reach out to the product experts 
via the Google Ads Community Forum for further guidance.

Best regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001UEJTrl:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/MORVE0PWISTR00Xl5vWMvHTIySe7utDnGVpg%40sfdc.net.


Re: Reg: Image Ad

2019-08-19 Thread Suresh Kumar Shenbagam
Hi Peter,

Thanks for the reply. I understand that I can update the ImageAds using 
AdService using Adwords API. But my question is, after creating the Image 
Ad using AdWords JAVA API, am getting some adId for the newly created Image 
Ad and am persisting this adId for future purpose.

After that, if someone goes to Google Ads UI, open that newly created Image 
Ad, doing some changes and saving the Image Ad, In this case, it is 
creating a new adId which I am not aware of or my application does not 
aware of.

For example, this is the url for viewing/editing the Image Ad,
https://ads.google.com/aw/ads/edit/display?campaignId=6445309094=77377458659=306880979;
*adId=378372800299*
=77377458659&__c=4810536426&__u=8206534617=0 

 

Please note the adId parameter in the above  URL and I am able to open the 
Image Ad using the above URL. After opening, if I make some changes like 
updating the finalURL or name, then it is creating a new Image Ad with new 
adId. 

So, I have stored some adId earlier (while creation), but here after this 
changes, new adId is different from stored one. Is there any 
link/connection between the old and new adId?

I want you to try these steps to replicate the problem,
1. Create a new Image Ad using Adwords Java API and note down the adId.
2. Login to Google Ads UI and edit the newly created Image Ad and Save. 
Note the adId now, both are different
3. So, if i want to read the Image Ad using adId which has been already 
stored, it returns null, since it could not find the Image Ad for the adId.

I hope you understand the problem now.
 

Suresh

On Monday, August 19, 2019 at 3:39:18 PM UTC+5:30, adsapiforumadvisor wrote:
>
> Hi Suresh,
>
> In the AdWords API, you should be able to update the fields of the ImageAd 
> 
>  
> using the AdService.mutate() 
> 
>  
> method. You need only to pass the Id 
> 
>  
> of the said ad and the fields you wish to modify. After the request, the Id 
> should remain the same.
>
> For retrieving the ImageAd details, you can use either the 
> AdGroupAdService.get() 
> 
>  
> or the AdService.get() 
> 
>  
> methods. Please also note that the AdGroupAdService is only for ADD 
> operations and for updating the Status 
> 
>  
> field, while the AdService serves as the one used for updating the other 
> fields of the supported ads of the AdWords API.
>
> Let me know if this helps.
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UEJTrl:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/48e62706-265d-4215-8c72-f8c105a0c75d%40googlegroups.com.


RE: Reg: Image Ad

2019-08-19 Thread Google Ads API Forum Advisor Prod
Hi Suresh,

In the AdWords API, you should be able to update the fields of the ImageAd 
using the AdService.mutate() method. You need only to pass the Id of the said 
ad and the fields you wish to modify. After the request, the Id should remain 
the same.

For retrieving the ImageAd details, you can use either the 
AdGroupAdService.get() or the AdService.get() methods. Please also note that 
the AdGroupAdService is only for ADD operations and for updating the Status 
field, while the AdService serves as the one used for updating the other fields 
of the supported ads of the AdWords API.

Let me know if this helps.

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001UEJTrl:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/Npmoz0PWHAV200j7ave04aQfWjxfodoKFJSQ%40sfdc.net.