Is it possible to use DV360 API for youtube campaigns? - google-api

I am trying to modify line items through DV360 API. I am able to do it for Display campaigns but while using the same code for Youtube campaigns its returning 404 content not found even when LI exists with the same LI ID.

Yes its possible through SDF v5.2 and above. You can download SDF programatically and modify line items in csv file and upload it back to DV360.
But there is only catch is you cannot upload it programatically you have to upload it through dashboard only. You can do anything create, update and all.
URL for Format reference: https://developers.google.com/display-video/api/structured-data-file/v5-3/LineItem
URL for downloading SDF: https://developers.google.com/display-video/api/guides/downloading-sdfs/download#python
Enjoy!!

Related

Uploading file to sharepoint and returning the url of the uploaded file

I am using laravel trying to upload the file to sharepoint folder and want to return the url of the uploaded file. I have went through the documentation and various article but not feeling comfortable and didnt found any clear ways to acheive it.
Request you to please guide with way to start with.

Magento SOAP API - getting product attachments

I am using SOAP API for Magento to get every data about products made in Magento. So far, everything went juuust fine, you get get everything using API commands which are in Magento documentation.
However, I am stuck with attachments. There is a attribute in Magento called "Attachments" for each product and it contains links to pdf files. I tried every API and trick including exports and filters and I can't get that data. Unfortunately, I can work only with API and SOAP v1.
I tried "product_downloadable_link.list" of course, but I get an error: "Caught exception: Incorrect product type. Downloadable content, can be added only to "downloadable" products."
Any advice would be appreciated. Thanks!
Magento 1 or Magento 2?
Also if will be helpful if you provide the API endpoint that you are using, and if this is a Magento 2, the custom attributes are retrievable via extension attributes.

How to source images from my storage to NetSuite without uploading them to the file cabinet?

In order to place images in the web store, they have to be uploaded to the file cabinet and then the file name needs to be associated with the item.
What I am looking to do, is to source the images from my current internal storage to NetSuite and still be able to view the images on the website. I am trying to find a way to do this because I don't want to have to upload them all individually or with a mass upload.
You will need to create a custom item field of type "text" and associate the field to the item record.
You can then place the full path to your image in the field you just created and reference the custom field in your templates.
This will allow you to use urls from your own host, but dynamically be able to use them within the NetSuite web store.

Django multi-image upload in admin panel with ajax - some example

I find many articles with multi-image and plugins:
https://github.com/blueimp/jQuery-File-Upload
https://pypi.python.org/pypi/django-multiuploader etc.
But I don't know how use it in django admin when I have ImageField. I want to do gallery.
Now I have inline adding image in albums. Please help me and give some full example :) (I'm newbie)
We use django-jfu to upload many files outside the admin.
Interfacing to the admin is certainly possible by creating a custom admin method to invoke jfu. Add a completion button to the jfu upload page that creates the desired db records when the user is done uploading files. These would then be available within the admin.

Preventing file upload by submitting a form which has file tag

My client has millions of users driver website. I had to implement a custom file upload using AJAX/jQuery.
The file upload field is just needed to create a clickable and drop-downable file upload mechanism. Everything is working fine except when I submit the form it uploads the file again which has already been uploaded using ajax.
How can I prevent this uploading?
Move the file input to outside the form or replace the file input with a new one when you upload the file.

Resources